[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Rich text in pdf
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|