[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Rich text in pdf

Subject: Re: Rich text in pdf
From: "Mike Haarman" <mhaarman@xxxxxxxxxxxxxxxxxx>
Date: Mon, 28 Jul 2003 12:48:08 -0500
pdf rich text
> 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.