[xsl] Need help for converting following xml

Subject: [xsl] Need help for converting following xml
From: "Bhargav Bharath" <xmlbar@xxxxxxxxxxx>
Date: Tue, 17 Jun 2003 20:52:13 +0530
Hi,

I need help to write an XSLT file for converting first.xml to second.xml

first.xml

<school>
  <student class="A">L</student>
  <student class="B">M</student>
  <student class="A">O</student>
  <student class="C">P</student>
  <student class="B">Q</student>
  <student class="C">R</student>
  <student class="A">S</student>
</school>

second.xml

<school>

  <Section class="A">
     <student >L</student>
     <student >O</student>
     <student >S</student>
  </Section>

<Section class="B">
     <student >M</student>
     <student >Q</student>
</Section>

<Section class="C">
     <student >P</student>
     <student >R</student>
</Section>

</school>

Thanks in advance
Bhargav

_________________________________________________________________
Chill out. Win a Himalayan holiday! http://server1.msn.co.in/sp03/summerfun/index.asp



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



Current Thread