[xsl] Rich text in pdf

Subject: [xsl] Rich text in pdf
From: Mark Ivs <markivs2003@xxxxxxxxx>
Date: Mon, 28 Jul 2003 10:14:28 -0700 (PDT)
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