xsl-list
[Top] [All Lists]

[xsl] transforming siblings to a hierarchy

2007-09-01 07:13:05
Hello,

How can change the following:

<a/>
<plus/>
<b/>
<minus/>
<c/>
<plus/>
<d/>
<plus/>
<e/>

To the following:


<addition>
    <addition>
        <takeaway>
            <addition>
                <a/>
                <b/>
           </addition>
           </c>
        </takeaway>
        <d/>
    </addition>
</addition>

Many thanks,
John

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

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