Re: Sibling axis and as="element()"
> ...is this because "/" was thought to be impossible, or a 1.0 > compatiblity issue, but / 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. /* 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