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: A counter inside a for-each?


You can't update variables in XSLT. The two declarations of conta14 are
declaring two different variables, one local and one global.

In this case it's easy to solve your problem without variables. Just write
 <xsl:if test="position()!=1">

Mike Kay

> I want to write a "/" only if itīs not  the first ocurrence 
> of the Field.


 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]