Re: [xsl] CDATA again

Subject: Re: [xsl] CDATA again
From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx>
Date: Fri, 11 Feb 2005 11:22:24 -0000
----- Original Message ----- From: "Robert Soesemann" <rsoesemann@xxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, February 11, 2005 11:13 AM
Subject: [xsl] CDATA again

I need to produce output where some of the input node are inside a valid CDATA comment.

<targetGroup markup="yes">
                       <li>PK Bestandskunden

What need I put in here to get this?

<xsl:template match="td" mode="markup"> ???? <xsl:copy-of select="child::node()"/> ???? </xsl:template>

I tried without success:
- <xsl:text><![CDATA[</xsl:text>
- &lt;![CDATA[


Given that this sort of design invariably leads to problems later I would try to avoid it but you can put:
in the xsl:output element and specify a whitespace delimited list of relevant element names.


Current Thread