Run the validation of the supplied source document, optionally writing the validated document to the supplied destination.
SchemaValidator Class | Saxon.Api Namespace