We have some abstract elements defined in our root schema e.g.: … which are then extended as follows: These elements are used inside our xml file: However, when I try to validate the xml using Saxon command line, I get the error message below: Here is a link to the actual sample files for reference: xml / root schema –
Tag: saxon
Run XSL tranformation on an Mei file(xml) Using Saxon
I am trying to do what I considered to be a simple thing but I do not seem to understand how to go withit. I have an mei file which is essentially an xml and I want to apply an xsl Transformation on it. I am using saxon for that and this is what I have been doing. Problem is
importNode throws org.w3c.dom.DOMException: NOT_SUPPORTED_ERR
I am trying to merge two XML documents both with standard Oracle JDK 7 and also with Saxon HE but I keep getting an: On the line with the importNode below (same thing happens with adoptNode BTW): I’ve tried both with Saxon-HE-9.4.jar on my classpath or not, but I still get the same error. update Based on comments I received,
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