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

[xsl] Remove identity Transform

Subject: [xsl] Remove identity Transform <ns2:local xmlns:ns2="uri">
From: Senthilukvelaan <skumaravelan@xxxxxxxxxxxxxx>
Date: Sun, 6 May 2012 21:53:01 -0700

Hi ,
I am using the following identity transform and I want to remove the
<ns2:local xmlns:ns2="uri"> which might occur in my input xml. How do
I remove this node?

 <xsl:template match="@*|node()">
       <xsl:apply-templates select="@*|node()"/>
<xsl:template match="*">
<xsl:element name="{name(.)}">
        <xsl:apply-templates select="@*|node()"/>

Any input would help.


Current Thread