[xsl] how to group same type nodes together?

Subject: [xsl] how to group same type nodes together?
From: Rick Col <rick_cols@xxxxxxxxx>
Date: Tue, 23 Dec 2003 13:47:10 -0800 (PST)
Hi,

If I have a xml file:

<parent>
    <child1>child1</child1>
    <child2>child2</child2>
    <child3>child3</child3>
    <child2>child2</child2>
    <child1>child1</child1>
</parent>

I want to turn it into:

<parent>
    <child1>child1</child1>
    <child2>child2</child2>
    <child2>child2</child2>
    <child3>child3</child3>
    <child1>child1</child1>
</parent>

How can I do it?

regards,

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

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


Current Thread