RE: Equivalent of a Global Counter
>That makes the (possibly false) assumption that the XSL processor >encounters the elements in the order they appear in the document. Nope. This is irrelevant to my concerns. >What you want is that the output includes a number that is a function of >the position of the input element. So you just need to specify what that >relationship is, using xsl:number or, for simple cases, position(). That is not what I want, what I want is a number which is incremented regardless of position and structural relationship. Please answer the question, which is, can you think of a way of incrementing a number in an element match without having that same number decrement on element exit. Cheers, Matt ===================================================================== WARNING -This e-mail, including any attachments, is for the personal use of the recipient(s) only. Republication and re-dissemination, including posting to news groups or web pages, is strictly prohibited without the express prior consent of Thomson Legal & Regulatory Group Asia Pacific Ltd ACN 058 914 668 ===================================================================== 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