RE: position() inside a for x to y
> select="$colhead-size[position()]"/> > > My question is: why do I have to save position() to a > variable to use it properly in the for-each loop? The context item, position, and size inside a predicate are different from the values outside the predicate. Michael Kay http://www.saxonica.com/
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