-
Hi, Iam currently working on the eForms validation and I have a problem with converting schematron files into xslt and so far have been unable to do it. So I would like to ask how to do this or if there is xslt for eForms validation somewhere on github? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Agree that would be nice. Until then: Have you tried schxslt ? We use the schxslt XSLT to compile XSLT from the schematron like e.g. here https://projekte.kosit.org/eforms/validator-configuration-eforms/-/blob/main/build.xml#L247 Schxslt has also other means like Java or command line among others: https://github.com/schxslt/schxslt#using-schxslt Another more integrated option is to use https://github.com/phax/ph-schematron which is afaik used by TED CVS https://docs.ted.europa.eu/api/endpoints/cvs-ted-europa-eu.html in the background. |
Beta Was this translation helpful? Give feedback.
-
We are currently using the "ph-schematron-pure" library to validate the our current xml notices. Here a gist with some work in progress code and mvn config. I found in a discussion, that this library is also used in the CVS - #159 (comment) |
Beta Was this translation helpful? Give feedback.
Agree that would be nice.
Until then: Have you tried schxslt ?
We use the schxslt XSLT to compile XSLT from the schematron like e.g. here https://projekte.kosit.org/eforms/validator-configuration-eforms/-/blob/main/build.xml#L247
Schxslt has also other means like Java or command line among others: https://github.com/schxslt/schxslt#using-schxslt
Another more integrated option is to use https://github.com/phax/ph-schematron which is afaik used by TED CVS https://docs.ted.europa.eu/api/endpoints/cvs-ted-europa-eu.html in the background.