Jump to content
We've recently updated our Privacy Statement, available here ×

How to generate XHTML report from HTMLExporter?


sumanthonnavar

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I don't expect there is direct support for xhtml via the HtmlExporter. As an alternative, you could export to XML (JRXmlExporter) and use an XSLT processor to get the XHTML output you're looking for. Converting from HTML output to XHTML could be more problematic and have less consistent results.

According to Jaspersoft:

The XhtmlExporter class "is subject to font metric mismatches between client browsers, which can result in text being cut off." 

I'm assuming this is why they've deprecated the XhtmlExporter. It's rarely a good idea to use deprecated classes; it implies it will be desupported/removed altogether in future releases. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...