This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to compare values between two different looping tags


Hi,
I have an xml file like below.

<G>
 <X>
    <A>
       <C>111</C>
       <D>222</D>
    </A>
    <A>
       <C>232</C>
       <D>3232</D>
    </A>
 </X>

 <Y>
    <B>
       <C>232</C>
       <E>777</E>
    </B>
    <B>
       <C>111</C>
       <E>000</E>
    </B>
    <B>
       <C>232</C>
       <E>777</E>
    </B>
 </Y>
</G>

How do you write an xsl to get a text output like below?

C        D         E
=======================
111      222       000

232     3232       777


Thanks in advance,
Murali.



_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]