[xsl] CDATA within a CDATA

Subject: [xsl] CDATA within a CDATA
From: Eric Smith <es@xxxxxxxxxxxx>
Date: Thu, 14 Aug 2003 14:46:10 +0200
Hi

I am using two transformations to render html from xml.
The first converts source xml to xsl-fo and the second uses
the venerable fo2html.xsl (credit to Nikolai Grigoriev of Renderx)
to convert to the final target.

I want to insert raw html into the target through an instruction
in the source xml, so
<![CDATA[<style type="text/css">body {margin: 3em}</style>]]>
in the xml will clearly print
<style type="text/css">body {margin: 3em}</style>
in the fo (stage 2)

What do I insert in the source to get 
<![CDATA[<style type="text/css">body {margin: 3em}</style>]]>
to render in the fo?

I tried the obvious thing but that is a syntax error ...

thanks
-- 
Eric Smith

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread