This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Equivalent of a Global Counter
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Equivalent of a Global Counter
- From: Matthew Bentley <matthew dot bentley at brookers dot co dot nz>
- Date: Tue, 14 Nov 2000 11:32:43 +1100
- Reply-To: xsl-list at mulberrytech dot com
>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