xsl-list
[Top] [All Lists]

Re: [xsl] XPath 1 For Loop

2008-12-22 08:27:27
You are far, far better off changing Xalan to Saxon...

Yes, but that's not always an option (e.g. vendor support only xalan
at the moment)

Does someone have an idea how to get this working in XPath 1 without For-loop?

<xsl:variable name="totalNumber" select="sum(for $a in $inputSet
return number(replace($a,',', '.')))"/>

Thanks

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>