xsl-list
[Top] [All Lists]

flatten a hierachy and change positions

2003-09-24 06:58:52
Hi,

I looked up the list and books but still don't get a clue which method to 
choose.  I want to flatten a hierachy and change positions, the way the 
following example shows:

I have:

<g1>
<u1><s></s></u1>
<g2>
<u2></u2>
</g2>

I need:

<u1></u1>
<s></s>
<g1></g1>
<u2></u2>
<g2></g2>

I would be grateful for a hint. Thanks in advance.

Elke





****************************************************************************************************
Elke Naraschewski - Ernst Klett Verlag GmbH Stuttgart - Leistungscenter
Mediengestaltung - Rotebühlstr.77 - 70178 Stuttgart
Tel.: 0711/6672-1116 - Fax: 0711/6672-2023 - eMail: 
e(_dot_)naraschewski(_at_)klett-mail(_dot_)de
Stuttgart HRB 10746 Verleger: Dr.h.c. Michael Klett - Geschäftsführer:
Johannes Leßmann - Harald Melcher - Dr. Tilmann Michaletz - Dr. Wolf
Unkelbach (Vorsitz)
****************************************************************************************************


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



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