How to convert xml to PDF

Facebooktwittergoogle_pluslinkedintumblr

It is a common use case to convert an XML to PDF to display to users. I have in other projects used Apache FOP that will allow you to convert an XML to a PDF. The structure you will need to create the pdf document from XML is pretty complex. So it is probably a good idea to use an XSL(T) to transform the normal XML into a fo formatted XML. Then you want to run the fob to PDF either in a message mapping or better to use an adapter module for it.

You can read more about the object at

https://xmlgraphics.apache.org/fop/

Facebooktwittergoogle_pluslinkedintumblr

Leave A Response

* Denotes Required Field