|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Antwort: comments. (Re: key() Re: Saxon VS XT)
Jeni -- node() is an abbreviation for child::node(). This will never match / since it is not the child of anything. This is explained in XSLT §5.2 in the node() example. Also note that this can never match an attribute or namespace node since they are also not considered children of their parents!! See XPath §§ 5.3 and 5.4. Gary Jeni Tennison wrote: > ... > <xsl:template match="node()|/" mode="XXX"> > ... > </xsl:template> > > [Aside: I would have thought that match="node()" would work, but testing > with SAXON 5.4.1 shows that the this does not match the root node. Is this > a bug?] XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








