Skip to content
Advertisement

How to perform schematron validation using Saxon java library command line tool?

Very basic question- I’ve a xml file and I want to validate it against a schematron file. How do I do it using Saxon command line?

As per commandline reference I don’t see any option to specify schematron file.

Answer

After doing a lot of research, it seems that it isn’t really possible. We have to first generate xsl document and then use it to perform validation.

Advertisement