PDF from XSL-FO: Display Rich Text

Certified Lead Developer

Hi All,

I am using the PDF from XSL-FO smart service to generate a PDF.  I'm generating the XML/XSL docs for the smart service via expressions that query the database.  I'd like to let users enter text in a rich text editor, and have that rich text preserved in the PDF.

For example, the user enters a list in the rich text editor.  The database value is something like <ul><li>item 1</li><li>item 2</li></ul>.

Currently, my PDF generation just shows the HTML as the exact string <ul><li>item 1</li><li>item 2</li></ul>.  Does anyone know of a way to display the formatted HTML in the PDF?  The only thing I can think of is to build some expressions to generate the correct XSL and then strip the HTML in the XML.  Any easier approach?

  Discussion posts and replies are publicly visible