Parker, Daniel writes:
> <them:item xmlns:them="www.them.com">
> <them:value>2000</them:value>
> </them:item>
>
> </summary>
>
> is there a simple way of using the sum function to compute a grand total for
> the us:values and the them:values?
does
sum(*[contains(name(),'value')])
work? otherwise my first inclination would be to make two passes,
putting all the values into a new nodeset, and then using the nodeset
extension to process it and do a sum.
sebastian
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|