Subject: Re: [xsl] remove certain elements but keep children From: Oleg Tkachenko <oleg@xxxxxxxxxxxxx> Date: Mon, 04 Oct 2004 11:18:45 +0200 |
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.
<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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] remove certain elements b, Michael Kay | Thread | Re: [xsl] remove certain elements b, Anton Triest |
RE: [xsl] unwanted xmlns="" attribu, tom tom | Date | RE: [xsl] xslt 2, design patterns, Michael Kay |
Month |