[xsl] transforming siblings to a hierarchy

Subject: [xsl] transforming siblings to a hierarchy
From: "John Smith" <debrief@xxxxxxxxx>
Date: Sat, 1 Sep 2007 15:13:03 +0100
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

Current Thread