I need to generate the following format:
<question>
<![CDATA[The city council passed the new <strong>regulation</strong>.]]>
</question>
from this input:
<question>The city council passed the new
<strong>regulation</strong>.></question>
when I add cdata-section-elements="question" to my xsl:output statement, I get
this results:
<question><![CDATA[6. The city council passed the new
]]><strong>regulation</strong><![CDATA[.]]></question>
Is there a way to include the <strong> element in the CDATA?
I have tried to convert the <strong> tag to text:
<xsl:text
disable-output-escaping="yes">&#x003C;strong&#x003E;</xsl:text>
<xsl:apply-templates/>
<xsl:text
disable-output-escaping="yes">&#x003C;/strong&#x003E;</xsl:text>
but to no avail.
I am using xslt 2.0
Any help would be appreciated.
Terry
--~------------------------------------------------------------------
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>
--~--