|
Subject: Re: [xsl] Distinguishing the root node of a node-set From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 8 Mar 2007 21:50:23 GMT |
you want test="$var/self::root1" but that isn't what you asked for, a root node in XPath is never an element node with a name, it is the node denoted by / that is the parent of the top level element. Xpath2 calls these nodes document nodes rather than root nodes to try to avoid this confusion over the term "root" David
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Distinguishing the root node , sthomas2 | Thread | [xsl] Issues with Classpath : Linux, Joshua Perrymon |
| [xsl] Distinguishing the root node , sthomas2 | Date | RE: [xsl] Counting nodes up to a ce, cknell |
| Month |