xsl-list
[Top] [All Lists]

CDATA within a CDATA

2003-08-14 05:46:10
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



<Prev in Thread] Current Thread [Next in Thread>