Quantcast
Channel: xsl: Copy the entire xml except a parent node but keep its child node - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Answer by Martin v. Löwis for xsl: Copy the entire xml except a parent node but keep its child node

$
0
0
<xsl:stylesheet version="1.0"xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:template match="LoginID"><xsl:apply-templates select="PAN"/></xsl:template><xsl:template match="*"><xsl:copy><xsl:apply-templates/></xsl:copy></xsl:template></xsl:stylesheet>

Viewing all articles
Browse latest Browse all 4

Trending Articles



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