|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: remove certain elements but keep children
Ben Munat wrote:
I'm trying to come up with an xpath or xsl template(s) that will remove the output tags, while leaving their child html and without producing duplicate content. Changing something while preserving the rest is done using identity transformation: <xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template><xsl:template select="output"> <!-- Omit me --> <xsl:apply-templates select="node()"/> </xsl:template> -- Oleg Tkachenko http://blog.tkachenko.com Multiconn Technologies, Israel
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








