|
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:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="*">
<xsl:element name="{name(.)}">
<xsl:apply-templates select="@*|node()"/>
</xsl:element>
</xsl:template>
Any input would help.
Thanks
Senthil
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Feedback/Corrections requ, Carlos Araya | Thread | Re: [xsl] Remove identity Transform, Martin Honnen |
| Re: [xsl] Feedback/Corrections requ, Carlos Araya | Date | Re: [xsl] Remove identity Transform, Martin Honnen |
| Month |