[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] CDATA within a CDATA


Subject: RE: [xsl] CDATA within a CDATA
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 14 Aug 2003 15:39:27 +0100

> 
> 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)
> 

Same old problem. XSLT isn't about creating "raw HTML" (by which I
assume you mean text containing angle brackets), it is about creating
nodes in a result tree. Until you can grasp this concept, you will be
forever fighting the technology rather than letting it work for you.

Michael Kay


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



Current Thread
Keywords