[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: nearly FAQ .. (numbering of elements)

Subject: Re: Re: nearly FAQ .. (numbering of elements)
From: "Agnes Kielen" <agnes.kielen@xxxxxxx>
Date: Mon, 26 Jan 2004 19:44:11 +0100
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.