Subject: Re: Antwort: comments. (Re: key() Re: Saxon VS XT) From: Gary L Peskin <garyp@xxxxxxxxxxxx> Date: Sun, 13 Aug 2000 12:15:45 -0700 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Antwort: comments. (Re: key() R, Paul Tchistopolskii | Thread | Re: Antwort: comments. (Re: key() R, Jeni Tennison |
Re: Antwort: comments. (Re: key() R, Paul Tchistopolskii | Date | RE: Selecting case insensitively, Doug Howell |
Month |