Subject: Re: [xsl] Which patterns will select the root node? From: andrew welch <andrew.j.welch@xxxxxxxxx> Date: Sun, 16 Oct 2005 13:38:59 +0100 |
> > Will any other pattern than "/" ever match the root? > > Yes -- always matches the root node of the current document. In XSLT2 > terms it matches the document node. Just to add to that, in XSLT2 there is document-node(), eg: <xsl:template match="/"> and <xsl:template match="document-node()"> are equivalent (afaik).
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Which patterns will selec, Dimitre Novatchev | Thread | Re: [xsl] JAXP - Ignoring whitespac, Blue Gecko |
Re: [xsl] Which patterns will selec, Dimitre Novatchev | Date | Re: [xsl] Which patterns will selec, Oleg Tkachenko |
Month |