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

RE: Help with 3-level deep XML

Subject: RE: Help with 3-level deep XML
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 16 May 2007 13:33:00 +0100
RE:  Help with 3-level deep XML
As you can see, the XML for some reason didn't make it to your readers.
Happy to help when we can work out what the question is!

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Bhaskar [mailto:bhaskarji@xxxxxxxxxxx] 
> Sent: 16 May 2007 13:08
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Help with 3-level deep XML
> 
> 
> Hi,
> 
> I need help with a transformation I am trying to do. The XML is:
> 
> 
>   
>     
>       26
>     
>     
>       -36
>     
>   
>   
>     
>       14
>     
>     
>       42
>     
>   
> 
> 
> I am basically trying to get the sum of third-level deep 
> elements categorized by their names. That is, the output will be:
> ccc1   40 (26+14)
> ccc2   6 (-36+42)
> 
> I wouldn't know any of the node names (aaa1, bbb1, ccc1, etc) 
> apriori, so I can't check for these names in the XSL - 
> essentially I am trying to get a general solution.
> 
> Any help/idea would be appreciated.
> 
> Thanks.
> 
> 
> 
> _________________________________________________________________
> Catch the cricket action with MSN!
> http://content.msn.co.in/Sports/Cricket/Default.aspx

Current Thread

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.