This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Dumb question from a newbie on XSLT in IE5 (Namespaces etc)




> For xmlns - maybe, but this is 'xmlns:xsl' and surely more than one of
> those as an attribute in an 
> xsl:stylesheet would be illegal? Therefore the choice would be whether
> to run it at all.

The prefix (if there is one) is arbitrary. All of the following are legal
syntax for the start of an XSL stylesheet. The _only_ thing that
matters, both in the stylesheet and in the input document is the
full `expanded' name of an element name, which consists of a pair,
uri and local name. The prefix is just a syntax trick.

In particular, as you see, XSL places no special significance on the
xsl: prefix.

David


<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version="1.0"
                >

<xsl:template.....


<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform"
                version="1.0"
                >
<template.....


<css:stylesheet xmlns:css="http://www.w3.org/1999/XSL/Transform"
                version="1.0"
                >
<css:template.....


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]