Pankaj Chaturvedi wrote:
I tried to retain the attributes names with something like below but I know
its incorrect:
<xsl:template match="@*">
<xsl:copy>
<xsl:apply-templates select="name(@*)"/>
</xsl:copy>
</xsl:template>
Use
<xsl:template match="@*">
<xsl:attribute name="{name()}"/>
</xsl:template>
--
Martin Honnen
http://JavaScript.FAQTs.com/
--~------------------------------------------------------------------
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>
--~--