Quantcast
Channel: xsl to only copy some elements recursively and remove some of the descendants - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by Emiliano Poggi for xsl to only copy some elements recursively and...

This new transform is general enough to copy colors elements whatever their parent is. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:output...

View Article



Answer by Kirill Polishchuk for xsl to only copy some elements recursively...

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:output method="xml" indent="no"/><xsl:template match="/"><colors><xsl:apply-templates...

View Article

xsl to only copy some elements recursively and remove some of the descendants

I would like to transform<?xml version="1.0" ?><mydoc><file><colors><blue /><red /><green /></colors><secret><username /><password...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images