pls try the below xsl:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- default identity translation -->
<xsl:template match="*|comment()|processing-instruction()|text()">
<xsl:copy>
<xsl:apply-templates
select="*|comment()|processing-instruction()|text()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="/body/div">
<xsl:apply-templates select="div"/>
</xsl:template>
<xsl:template match="div">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="/body">
<section>
<xsl:apply-templates/>
</section>
</xsl:template>
</xsl:stylesheet>
Kind regards,
Jagdishwar B.
--~------------------------------------------------------------------
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>
--~--