xsl-list
[Top] [All Lists]

How to sum() with multiplaction

2002-12-10 23:38:34
sorry about the blank one... it was an accident

<node>
 <subnode1>test</subnode1>
 <subnode2>test</subnode2>
 <Node2>
   <test1>2</test1>
   <test2>25</test1>
</Node2>
 <Node2>
   <test1>3</test1>
   <test2>50</test1>
</Node2>

I want to get the sum of (in the test case)
2*25 and 3*50
So i want to get a result of 200
How do i do this? 
I have tried many different ways, with no luck.
Thanks
Joshua Smith

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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