Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Sum over computed value ? Sum over computed value ?To: NULL Date: 1/10/2006 9:35:00 PM Hi! I have an XML like this: <?xml version="1.0" encoding="UTF-8"?> <invoice> <bill> <BId>20</BId> <CId>73</CId> <BDate>2006-01-10</BDate> <BStatus>0</BStatus> </bill> <billitems> <item> <PName>Kiwi</PName> <PPrice>0.900</PPrice> <PId>1</PId> <BCQuant>15</BCQuant> </item> <item> <PName>Apfel</PName> <PPrice>0.500</PPrice> <PId>3</PId> <BCQuant>10</BCQuant> </item> </billitems> </invoice> Now I want to have the sum of /invoice/billitems/item/BCQuant*/invoice/billitems/item/PPrice (=total price) Any ideas how to do? TIA! -- ---------------------------------------------------------------- ,yours Thomas Zangl - thomas@t... - http://www.tzis.net/ - - Freelancer - IT Consulting & Software Development - Use Y.A.M.C! now! Get it at http://www.borg-kindberg.ac.at/yamc/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
