Subject: Re: [xsl] xsl:copy-of issue From: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@xxxxxxxxx> Date: Thu, 14 Jan 2010 01:19:57 +0100 |
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>
<xsl:template match="table"> <xsl:copy> <xsl:attribute name="id" select="generate-id()" /> <xsl:apply-templates /> </xsl:copy> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl:copy-of issue, Imsieke, Gerrit, le- | Thread | [xsl] What are the best XSLT 1 or X, Dimitre Novatchev |
Re: [xsl] xsl:copy-of issue, Imsieke, Gerrit, le- | Date | Re: [xsl] Ignore closing tag, Abel Braaksma |
Month |