I am trying to validate an XML file with Schematron, which is more complicated than XSD. I googled a lot and the best thing that came up is this Microsoft website. But that only shows how to validate with XSD with NMatrix.Schematron which is not what I need. I have the NMatrix.Schematron DLLs but I dont know how to use them. Does anyone know how to use it?
I recommend that you instead use Rick Jelliffe's reference implementation of ISO Schematron using pure XSLT, preferably XSLT 2.0, with an established XSLT processor such as Michael Kay's Saxon.