Editing Schematron Schemas

Schematron is a simple and powerful Structural Schema Language for making assertions about patterns found in XML documents. It relies almost entirely on XPath query patterns for defining rules and checks. Schematron validation rules allow you to specify a meaningful error message (as opposed to a cryptic error code). This error message is provided to the user if an error is encountered during the validation stage.

Oxygen XML Editor uses the Skeleton XSLT processor for validation and conforms with ISO Schematron or Schematron 1.5. It allows you to validate XML documents against Schematron schema or against combined RELAX NG / W3C XML Schema and Schematron.

Oxygen XML Editor assists you in editing Schematron documents with schema-based content completion and syntax highlight. A basic Schematron template is available in the New Document wizard.
Note: When you create a Schematron document, Oxygen XML Editor provides a built-in transformation scenario. You are able to use this scenario to obtain the XSLT style-sheet corresponding to the Schematron schema. You can apply this XSLT stylesheet to XML documents to obtain the Schematron validation results.

The Schematron editor renders with dedicated coloring schemes the XPath expressions. To customize the coloring schemes, go to Options > Preferences > Editor > Colors.

You can validate the content using the Validate action at any time. Another way to validate schemas is to check them against their own Schematron schema rules using External validation action.