einvoice-xslt-exec 0.1.0

Executor of the XSLT 2.0 subset used by the official e-invoicing validation stylesheets: runs the compiled Schematron and writes SVRL, with the behaviour of Saxon-HE
Documentation

einvoice-xslt-exec

Executor of the XSLT 2.0 subset that the official e-invoicing validation stylesheets use (Schematron compiled to XSLT), with the behaviour of Saxon-HE 12.10: the same template rules chosen, the same result. A stylesheet loaded by einvoice-xslt is prepared once, then runs on any number of documents and writes its result, for a compiled Schematron the SVRL report. Constructs whose result would differ from Saxon-HE's are refused when a stylesheet is prepared.

This crate is part of einvoice-validator, which validates EN 16931 and Peppol BIS Billing 3.0 e-invoices against the official validation artefacts in pure Rust. On every case of the CEN EN 16931 UBL 1.3.17 and Peppol BIS Billing 3.0.22 test corpora it produces the same SVRL report as Saxon-HE. Documentation: https://docs.rs/einvoice-xslt-exec.

Licence

MIT (LICENSES/MIT.txt).