xsl-list
[Top] [All Lists]

RE: How to sum() with multiplaction

2002-12-11 12:50:43
What if i changed the XML to

--- Michael Kay <michael(_dot_)h(_dot_)kay(_at_)ntlworld(_dot_)com> wrote:

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

How would i do it now, or how would i change what you
guys sent to me?

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? 

__________________________________________________
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>