--- title: "SchematronPreparser" slug: "schematron-preparser" updated: 2026-09-09T12:42:24Z published: 2026-09-09T12:42:24Z canonical: "docs.lobstersoftware.com/schematron-preparser" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # SchematronPreparser | **Class name** | com.ebd.hub.datawizard.parser.SchematronPreparser | | --- | --- | ## Description This Preparser performs a Schematron validation of an XML file. The result is an XML report file. ## Configuration The configuration takes place either in a properties file or analogously via "MSG_CALL_" variables. Either an XSL file or a Schematron file with associated XSL files can be specified. **IMPORTANT:** All specified files (including referenced files) must be located in the same folder. ### XSL ```schematronconfig schematron.xsl.path=./tmp/XRechnung-CII-validation.xsl ``` ### Schematron and XSL ```schematronconfig schematron.path=./tmp/XRechnung-CII-validation.sch schematron.xsl.dependecies.path=./tmp/iso_dsdl_include.xsl;./tmp/iso_abstract_expand.xsl;./tmp/iso_svrl_for_xslt2.xsl ``` > [!NOTE] > **NOTE:** > > - Please note that the order of the specified XSL files is relevant. > - To validate a file with the ".sch" file, you also need the iso files which can be downloaded under [https://github.com/Schematron/schematron/releases/](https://github.com/Schematron/schematron/releases/) Similarly, the configuration can also be carried out using *MSG_CALL_* variables (e.g. by a preceding profile). **NOTE:** The variables must be named exactly like this in the predecessor profile, but must not be created in the successor profile. ```MSG MSG_CALL_SCHEMATRON_XSL_PATH=./tmp/XRechnung-CII-validation.xsl ``` ```MSG MSG_CALL_SCHEMATRON_FILE_PATH=./tmp/XRechnung-CII-validation.sch MSG_CALL_XSL_DEPENDENCIES_PATH=./tmp/iso_dsdl_include.xsl;./tmp/iso_abstract_expand.xsl;./tmp/iso_svrl_for_xslt2.xsl ``` Optional intermediate phase before Phase 2. A preparser manipulates input data before the parser processes it; for example, to remove special characters or convert an unknown format to a supported one. XML (Extensible Markup Language) is a structured text format for storing and exchanging data. Content is enclosed within freely definable tags such as `<order>`. XML is human-readable, machine-processable, and platform-independent. In the Lobster Data Platform, you can receive, parse, and generate XML data.