|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Sibling axis and as="element()"
> ...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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








