[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XPath 1 For Loop
Hello, This line works fine in Saxon 9: <xsl:variable name="totalNumber" select="sum(for $a in $inputSet return number(replace($a,',', '.')))"/> But with Xalan 2.7 it start to complain: SystemId Unknown; Line #34; Column #132; Expected ,, but found: $ I found out that For-loop is new in XPath 2. How can I change this to XPath 1 so it works with Xalan 2.7? Thank you!
|
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
|