[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Fwd: Moving an Element to new place/Element Reposition


Subject: [xsl] Fwd: Moving an Element to new place/Element Reposition
From: arut che <arutche@xxxxxxxxx>
Date: Tue, 10 Feb 2009 10:05:04 +0530

Dear All,

    I want to move an element(floats-second child of root) to last
child of body(third child of root element)  for this i am using the
following code:
<xsl:template match="body">
<xsl:apply-templates select="sections,acknowledgment,../floats"/>
</xsl:template>
The above code moves the floats element and transform as i defined.
But it is also alive & transformed at its original location too.
I have tried with following code to remove the original. But it
removes all instance.
<xsl:template
match="article/floats"/>
pls help me how to perform this...
TIA
Arutche.


Current Thread