This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]