I am creating PDF reports with the xml data from a form. The RTF fields have a lot of XHTML formatting.
I am using Altova StyleVision to build my reports. Unfortunately, StyleVision strips the XHTML elements out of the RTF field.
The reulting FOP code that Altova generates is:
<xsl:for-each select="do:Definition">
<xsl:for-each select="note:Note">
<fo:inline>
<xsl:apply-templates/>
</fo:inline>
</xsl:for-each>
</xsl:for-each>
I tried replacing xsl:apply-template with xsl:copy-of (which works with xslt to make html) but the FOP did not like that (It produces nothing).
Is there a xslt/fo element that will expose and format the html in rtf elements?
I am using the Apache FOP .20.5
Thanks,
Ren