RE: Retrieving Position-Nr of Element2003-01-30 00:15:17Hi, I have selected one special element A with a certain id. When I create of node-set with A being in it, is there a way of efficiently get the position() of A in that node-set without traversing the node-set sequentally?? No, you have to go through it, but if you use a recursive template instead of xsl:for-each, you can break the "loop" as soon as you find the special element A. Cheers, Jarno - VNV Nation: Structure XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
|