Subject: Re: Summing over nodes belonging to different ns From: Sebastian Rahtz <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 25 Oct 2000 16:24:37 +0100 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Summing over nodes belonging to dif, Parker, Daniel | Thread | RE: Summing over nodes belonging to, Kay Michael |
RE: with-param and xsl:apply-templa, Sebastian Rahtz | Date | Re: XSLT text output - better forma, Sebastian Rahtz |
Month |