Definition

XmlToPdf connector is to transform data from xml to pdf format, this connector has a specific xsl format called xsl-fo (eXtensible Stylesheet Language - Formatting Objects), 

Icon

1622623889352-242.png

Configuration

Generally the XmlToPdf Connector is used with an XmlToXml to adjust the xsl-fo elements. 

1622624000830-921.png

After adding the xsl-fo to the XmlToXml connector we need to add an output file name in XmlToPdf connector

1622629145450-762.png

XSL-FO structure

1622627940452-633.png

-"fo:root"  :  Mandatory element for the FO-xsl

-"fo:layout-master-set"  :  for page information like height and width

-"fo:page-sequence"  :   the content of the pdf page

-"fo:static-content"  : for a static content as like in the beginning ( flow-name="xsl-region-before" ) or the footer of the page (flow-name="xsl-region-after")

-"fo:flow" :   the Dynamic content of the pdf pages.

Example

Please find in the attachment the xml fo (Order_FO_for_PDF.xml) to generate this following pdf:

1622629719334-533.png

 

Tags:
    
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian