[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] Sibling axis and as="element()"
Subject: Re: [xsl] Sibling axis and as="element()" From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 1 Aug 2006 12:00:07 +0100 |
> ...is this because "/[2]" was thought to be impossible, or a 1.0 > compatiblity issue, but /[2] certainly exists here. No. There is ever at most one / node in a tree. / is never an element node, it selects document nodes (called root nodes in xpath 1) in your example there is one / node which has three children. /*[2] would select the second element child of / (which is the second foo element. David
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Sibling axis and as="elem, David Carlisle | Thread | Re: [xsl] Sibling axis and as="elem, andrew welch |
[xsl] Default values of template pa, Julian Cox | Date | Re: [xsl] Default values of templat, David Carlisle |
Month |
Keywords