Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8734

Re: Help on XSLT mapping

$
0
0

In this case, instead of xsl:copy use xsl:element to dynamically create the elements with XPath function local-name(). Like this, the namespace won't be copied to the result tree.

 

Found here

 

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

Viewing all articles
Browse latest Browse all 8734

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>