[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Calculate with XML/XSL

Subject: Calculate with XML/XSL
From: "Asim Tozlu" <Tozlu@xxxxxxxxxxxxxxxxxx>
Date: Wed, 12 Mar 2003 09:08:39 +0100
xml calculate
Hi,

i have this XML:

<RG>
	<ID System_ID="1" Gattung="PzGren" Truppenbezeichnung="522"
System="BMP-2" Ausgangslage="100" Verlustrate="100" Verursacher="Art"/>
	<ID System_ID="13" Gattung="PzGren" Truppenbezeichnung="523"
System="BMP-2" Ausgangslage="100" Verlustrate="0" Verursacher=""/>
	<ID System_ID="14" Gattung="PzGren" Truppenbezeichnung="523"
System="BMP-2" Ausgangslage="100" Verlustrate="50" Verursacher="Hel"/>
	<ID System_ID="15" Gattung="PzGren" Truppenbezeichnung="523"
System="BMP-2" Ausgangslage="100" Verlustrate="0" Verursacher=""/>
	<ID System_ID="16" Gattung="PzGren" Truppenbezeichnung="523"
System="T-80" Ausgangslage="100" Verlustrate="50" Verursacher="Art"/>
	<ID System_ID="17" Gattung="PzGren" Truppenbezeichnung="523"
System="T-80" Ausgangslage="100" Verlustrate="50" Verursacher="Art"/>
	<ID System_ID="18" Gattung="PzGren" Truppenbezeichnung="523"
System="T-80" Ausgangslage="100" Verlustrate="0" Verursacher=""/>
	<ID System_ID="19" Gattung="PzGren" Truppenbezeichnung="523"
System="T-80" Ausgangslage="100" Verlustrate="0" Verursacher="Hel"/>
	<ID System_ID="20" Gattung="PzGren" Truppenbezeichnung="523"
System="KTM" Ausgangslage="100" Verlustrate="0" Verursacher=""/>
</RG>

and i want calculate with numbers. The Result must show:

Art
		Ausgangslage	Verlustrate	%
BMP-2		100		100		0 %
T-80		200		100		50 %

Hel
		Ausgangslage	Verlustrate	%
BMP-2		100		50		50 %
T-80		100		0		50 %


Thanks for a Tip.

Asim 


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


Current Thread
  • Calculate with XML/XSL
    • Asim Tozlu - Wed, 12 Mar 2003 03:05:26 -0500 (EST) <=
      • <Possible follow-ups>
      • cknell - Wed, 12 Mar 2003 10:21:52 -0500 (EST)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.