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: Increment of a variable



> and i want to increment this variable 

You can't change the values of variables in XSL.


I think what you want is the number of characters in any descendent of
TextBlock, for which you don't want variables or loops or any of that
nastiness, you just want

<xsl:variable name="total" select="string-length{TextBlock)" />

David


 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]