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

Answer by vinayakchalse for xsl: Copy the entire xml except a parent node but...

This XSL should do the needful.<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:output method="xml" indent="yes"/><xsl:template...

View Article



Answer by Cesar Hermosillo for xsl: Copy the entire xml except a parent node...

from that code if you want to remove the node InqRs just apply the following xsl :<xsl:output method="xml"/><xsl:template match="node()"><xsl:copy><xsl:copy-of...

View Article

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

<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...

View Article

xsl: Copy the entire xml except a parent node but keep its child node

I want to copy the entire XML document but remove a parent node. However this parent node also has a child that I'd like to keep. The node to remove is <LoginID> and the child node to keep is...

View Article
Browsing all 4 articles
Browse latest View live


Latest Images