Skip to main content

XSLT Transformation

XSLT Transformation for Converting XML Formats

Written by Petr Pech

To enable the ABRA Flexi accounting system to import and export XML formats beyond its native format, you can use custom and built-in XSLT transformations.

XSLT can only be used in combination with XML. During import, the XSLT transformation is first applied to the XML provided in the body of the REST API request, and the resulting XML is then imported into ABRA Flexi. During export, the filter, pagination, and detail level are applied first, and the XSLT transformation is then applied to the resulting XML.

XSLT can be applied during import/export using the format parameter.

Example of using a custom XSLT transformation in a REST API call:

/c/demo/faktura-vydana.xml?format=code:xyz

Copy

Example of using a built-in XSLT transformation in a REST API call:

/c/demo/faktura-vydana.xml?format=awis-items
Did this answer your question?