Subject: Re: [xsl] Rich text in pdf From: "Mike Haarman" <mhaarman@xxxxxxxxxxxxxxxxxx> Date: Mon, 28 Jul 2003 12:48:08 -0500 |
> I need a way to somehow show the 'welcome text' value > as rich text. In other words, I want to translate the > html tags to xsl:fo tags so that the pdf processor > will render it as bold, green text, etc... > Is there a way to do this kinda stuff ? > Ah, the scourge of escaped markup! Not without processing outside of XSL. CDATA is not PCDATA, which means it is not parsed. To process with XSL you will need to get the tags out of CDATA sections using your char manipulation tools of choice. They must also be well-formed XML when you are done pre-processing. Then template for the elements as you would otherwise. Or post-process with char tools to write the FO instructions directly. hth, Mike XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Rich text in pdf, Mark Ivs | Thread | [xsl] Still battling with practical, Karr, David |
[xsl] Rich text in pdf, Mark Ivs | Date | Re: [xsl] Can I suppress entity sub, J.Pietschmann |
Month |