xsl-list
[Top] [All Lists]

how to group nodes by id?

2002-12-02 08:48:51

 hi
 does anybody know how to convert the following XML:
 
 <elems>
 <elem id=1>
  <elem id=1/>
 </elem>
 <elem id=1>
  <elem id=2/>
 </elem>
 <elem id=2>
  <elem id=1/>
 </elem>
 <elem id=2>
  <elem id=2/>
 </elem>
 </elems>
 
 to the form
 
 <elems>
 <elem id=1>
  <elem id=1/>
  <elem id=2/>
 </elem>
 <elem id=2>
  <elem id=1/>
  <elem id=2/>
 </elem>
 </elems>
 
 thanks Artur
 

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



<Prev in Thread] Current Thread [Next in Thread>