This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Summing over nodes belonging to different ns


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]