xsl-list
[Top] [All Lists]

RE: flatten a hierachy and change positions

2003-09-24 09:39:23
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>


It's not possible (for me at any rate) to deduce from this input and
output what your transformation rules are. Why exactly does <u1> come
first in your output and <g1> come third? And where is the closing </g1>
tag?

Michael Kay


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



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