|
Subject: RE: [xsl] Retrieving Position-Nr of Element From: Jarno.Elovirta@xxxxxxxxx Date: Thu, 30 Jan 2003 09:15:17 +0200 |
Hi, > 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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Retrieving Position-Nr of, David Carlisle | Thread | [xsl] Display the first NodeList Va, Nischal Muthana |
| RE: [xsl] constructing the Node Set, Roger Glover | Date | RE: [xsl] generic xsl to transfrom , Jarno . Elovirta |
| Month |