Generates a Schematron schema from an XML instance.