[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: increment value
At 2004-01-22 17:16 +0000, Ricardo Saraiva wrote:
I want to increment a value to concat to a string. You cannot increment variables ... they are unchanged once bound. For example: Dynamically calculate what you need at each step: <b id="b{count(preceding::b) + 1}"/> But, if you just want unique values and you don't care what the values are: <b id="{generate-id()}"/> I hope this helps. .................. Ken
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|