I need to validate an XML file against Schematron (.sch file). I read that Saxon can do it. How can I use Schematron file directly as all the sample uses XSLT, not the Schematron file?
Validating xml file against schematron (.sch) in .Net (Saxon)
Asked Answered
There are Schematron processors that use Saxon "underneath the hood", but Saxon itself does not have any schematron capability.
As per my understanding, the Schematron needs to be converted to XSL and that XSL will be used to validate the document. Can you tell me how to achieve this in Saxon.Net? I have ISO Schematron file. Can we also use XSD as a file for validation? as sometimes we need multiple files to validate a single document. –
Botelho
I have found a solution and its working. #22060062 –
Botelho
© 2022 - 2024 — McMap. All rights reserved.