removeNameSpacePrefix
- 1. This xslt w illremove namespaces and namespace prefix.
<xsl:stylesheetversion="1.0"xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:outputmethod="xml"indent="no"/>
<xsl:templatematch="/|comment()|processing-instruction()">
<xsl:copy>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
<xsl:templatematch="*">
<xsl:elementname="{local-name()}">
<xsl:apply-templatesselect="@*|node()"/>
</xsl:element>
</xsl:template>
<xsl:templatematch="@*">
<xsl:attribute name="{local-name()}">
<xsl:value-of select="."/>
</xsl:attribute>
</xsl:template>
</xsl:stylesheet>