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: using <xsl:variable>


>       I have a variable whose value I need to increment by 1 
> every time the template is called.

You can't: that's not the way XSLT programming is done. It's a
side-effect-free language. There are other ways of achieving the required
effect, if you explain the problem you are trying to solve someone on this
list will almost certainly give you a hint on how to approach it.

Mike Kay


 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]