xsl-list
[Top] [All Lists]

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

2009-02-09 23:35:35
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.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>