-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from moneybird/remove_xslt1_option
Remove XSLT1.0 option. Does not work
- Loading branch information
Showing
3 changed files
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
validation | ||
========== | ||
|
||
Contains all files related to validation of the simplerinvoicing xml files. | ||
Contains all files related to validation of the simplerinvoicing XML files. | ||
|
||
The validation is based on Schematron; specified in the file SI-UBL-INV.SCH and SI-UBL-PO.SCH. | ||
|
||
An XSLT-file based on the schematron definition is also provided; for | ||
SI-UBL-1.2 this is currently SI-UBL-INV-1.2.xsl for invoice and SI-UBL-PO-1.2.xsl for purchase order. | ||
An XSLT 2.0-file based on the schematron definition is also provided; for | ||
SI-UBL-1.2 this is currently SI-UBL-INV-1.2.xsl for invoice and SI-UBL-PO-1.2.xsl for purchase order. We use XSLT 2.0 instead of XSLT 1.0 for stricter type checking. | ||
|
||
You can recreate this XSLT file by running one of the conversion scripts. | ||
By default the generated XSLT files will be based on XSLT2 but you can create XSLT1 compatible XSLT files by changing the `XSLT_VERSION` in the scripts, e.g. with `XSLT_VERSION=1 ./convert_linux.sh SI-UBL-INV.SCH SI-UBL-INV-1.2.xsl`. | ||
|
||
An overview of the applicable rules can be found in rules-overview-invoice.html and rules-overview-po.html | ||
(generated from the generated XSLT file). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters