[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: numbers and XPath
It looks extremely like a bug, I even had to laugh about the processor's
logic ;-) I don't know how to solve it, maybe reduce the number 5000000.
Why do you use the 5000000 in general? The numbers are also unique
without it.
Furthermore you can shorten the expression and remove some conversions: number('1000') is a conversion from the string '1000' to a number. If you remove '' or completely number the result shell be the same. position() also returns a number. So removing all useless number()s and conversions will result in: concat('id', string(number($assoc_pos) * 1000 + 500000 + position())) And removing the implicite conversions: concat('id', $assoc_pos * 1000 + 500000 + position()) Maybe this solves the problem with the processor too. Which processor is used in XMLSpy 5.2? I assume it's MSXML by default - but in which version? Regards, Joerg Endre, MAGYARI wrote: Dear list, 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
|