securely exchange anything, anywhere, with anyone.
View on GitHub

Securely exchange anything, anywhere, with anyone.

XML Tools

PDF Generator of an XML SXP Contract File

It is possible to generate PDF files according to contracts that follows the SXP Contract Specification. These PDF files are intended to extract the xml files and present it in a narrative way.

Here can be found an example of a contract.

In order to make PDFs, we use the following XML technologies:

  • XSL-FO. It is an XML language that describes the format of the PDF file. Once we have an FO file describing our contract, we can automatically convert it to PDF using a print formatter like Apache FOP.
  • XSLT. Using an XSLT stylesheet (also XML-based) we make possible the transformation between the original XML contract file and the FO file. An XML editor is needed. The current stylesheet used can be downloaded here.