Subject: RE: Help with 3-level deep XML
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 16 May 2007 13:33:00 +0100
|
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
|