[Home] [By Thread] [By Date] [Recent Entries]
On 14.01.2010 00:53, a kusa wrote:
Hi You are copying <table>'s attributes except @type, and then everything else (the tgroup element and its *unaltered* content). <emphasis> and its @type attribute will be part of the content that will be copied verbatim, and therefore it's still there in the output. What you probably intended to use is a catch-all template like this: <xsl:template match="@* | *">
<xsl:copy>
<xsl:apply-templates select="@* except @type | * | text()" />
</xsl:copy>
</xsl:template>Gerrit
|

Cart



