[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XPath 1 For Loop
You are far, far better off changing Xalan to Saxon... 2008/12/22 peter verhaar <peter.verhaar1@xxxxxxxxx>: > 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! > > -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
|
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
|