XML to PDF via XSL-FO (Apache FOP)
XSL-FO is the W3C layout format used to produce PDF-like documents, and EditiX interprets it with the Apache FOP 2.x library. You can run it directly on a .fo file, or apply FOP at the end of an XSLT transformation.
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="page">
<fo:region-body margin="1cm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="page">
<fo:flow flow-name="xsl-region-body">
<fo:block>Hello world</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>