----- Original Message -----
From: "Robert Soesemann" <rsoesemann(_at_)sapient(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
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.
E.g:
..
<targetGroup markup="yes">
<![CDATA[
<ul>
<li>PK Bestandskunden
(Postpaid+Prepaid)</li>
<li>Neukunden</li>
..
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>
- <![CDATA[
Robert
Given that this sort of design invariably leads to problems later I would
try to avoid it but you can put:
cdata-section-elements
in the xsl:output element and specify a whitespace delimited list of
relevant element names.
Joe
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--