How to make a child a sibling

Subject: How to make a child a sibling
From: "Peter Stark" <stark@xxxxxxxxxxxxxx>
Date: Sat, 22 Jan 2000 12:31:48 -0800
I hope someone can help me solve this XSLT probem.

I want to transform the following elements:

<a><b/><x/><d/></a>

into this:

<a><b/></a><x/><a><d/></a>

That is, the <x> should be moved up from its child position in <a>. The
content before the <x> should be in a new <a>, and the content after <x>
should be in another <a>.

Any help is appreciated.


Thanks,

Peter S.
(Phone.com)


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


Current Thread