RE: Equivalent of a Global Counter

Subject: RE: Equivalent of a Global Counter
From: Matthew Bentley <>
Date: Tue, 14 Nov 2000 11:32:43 +1100
>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.
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:

Current Thread