![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] Sibling axis and as="element()" [Thread Next] Re: [xsl] Sibling axis and as="element()"To: Date: 8/1/2006 11:31:00 AM On 8/1/06, David Carlisle <davidc@xxxxxxxxx> wrote: > ...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. <sigh/>... staring too hard at the same bit of code. | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
