RE: How to make a child a sibling

Subject: RE: How to make a child a sibling
From: "Rakesh Ajmera" <rakesh_ajmera@xxxxxxxxxx>
Date: Wed, 26 Jan 2000 17:58:02 -0600
Hope this would help

<?xml version='1.0'?>

<xsl:stylesheet xmlns:xsl=''>
<xsl:template match="/a" >
       <xsl:apply-templates />
<xsl:template match="x" >
        <xsl:copy />
<xsl:template match="*" >
           <xsl:copy />

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Peter Stark
Sent: Saturday, January 22, 2000 2:32 PM
To: xsl-list@xxxxxxxxxxxxxxxx
Subject: How to make a child a sibling

I hope someone can help me solve this XSLT probem.

I want to transform the following elements:


into this:


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.


Peter S.

 XSL-List info and archive:

 XSL-List info and archive:

Current Thread