This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Summing over nodes belonging to different ns
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: Summing over nodes belonging to different ns
- From: "Parker, Daniel" <Daniel dot Parker at schwab dot com>
- Date: Wed, 25 Oct 2000 07:20:37 -0700
- Reply-To: xsl-list at mulberrytech dot com
If my xml document looks like
<summary>
<us:item xmlns:us="www.us.com">
<us:value>1000</us:value>
</us:item>
<us:item xmlns:us="www.us.com">
<us:value>2000</us:value>
</us:item>
<them:item xmlns:them="www.them.com">
<them:value>1000</them:value>
</them:item>
<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?
Thanks,
Daniel Parker
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list