|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: nearly FAQ .. (numbering of elements)
Hi, > On Mon, Jan 26, 2004 at 04:13:19PM +0100, > Kielen, Agnes <Agnes.Kielen@xxxxxxxxxxxxxx> wrote > > > Use the position() function http://www.dpawson.co.uk/xsl/sect2/N6099.html. > > Which will work only if all the elements are "interesting", i.e. must > be counted. I prefer Andrew Welch's solution. > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > It depends what is more important the sequence in the source or the sequence in the result. When you're interested in the sequence in the result position() is the right choice. xsl:number is the rigth choice when you're interested in the source. Anyhow xsl:number can cost a lot of performance. Cheers, Agnes XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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








