New Article Published - Generate PDFs with XStream and XSL-FO

September 2, 2009 14:16 by Brian

A new article of mine was published today on IBM DeveloperWorks. The article focuses on XML serialization and XSL-FO to generate dynamic PDF documents from Java™ business objects. The article describes how to:

  • Leverage XStream to serialize data to XML
  • Build an XSL:FO stylesheet to produce a PDF document
  • Use Apache FOP to generate the PDF document

The primary benefit of the solution is the separation of the presentation (view) of data from the data and Java code, allowing for modifications to PDF format and layout without changes to the Java code.  This is done by modifying the associated XSL:FO stylesheet.

Article Url: Generate PDFs with XStream and XSL-FO

Please checkout the article and let me know what you think of the article.


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Copyright (c) 2007-2009 Brian J. Stewart, Copyright Policy

Comments

Add comment


 

  Country flag

biuquote
  • Comment
  • Preview
Loading