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

Rich text in pdf

Subject: Rich text in pdf
From: Mark Ivs <markivs2003@xxxxxxxxx>
Date: Mon, 28 Jul 2003 10:14:28 -0700 (PDT)
rich text to pdf
Is there a way to convert html tags inside CDATA to
appropriate xsl fo tags ?

This is how my xml looks

<home>
  <field>
    <fieldName>Name:</fieldName>
    <fieldVale>Mark</fieldValue>
  </field>
  <field>
    <fieldName>Welcome Text:</fieldName>
    <fieldVale><![CDATA[ <FONT
color=green><STRONG>hello</STRONG></FONT>, this is a
<EM>test</EM> ]]>
    </fieldValue>
  </field>	
</home>

I have rich text data in the <fieldValue> and when I
generate the pdf, this is what I see...

Name: Mark
Welcome Text: <FONT
color=green><STRONG>hello</STRONG></FONT>, this is a
<EM>test</EM>

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 ?

I use saxon and apache fop processor.
Any help on this will be greatly appreciated.

Thanks.
Mark

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

 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.