Schematron is an actively used xml format created in 1999. Schematron is a rule-based validation language for making assertions about the presence or absence of patterns in XML trees. It is a structural schema language expressed in XML using a small number of elements and XPath. In a typical implementation, the Schematron schema XML is processed into normal XSLT code for deployment anywhere that XSLT can be used. Read more on Wikipedia...

21Years Old 20Users ?Jobs

Example code from the web:

<schema xmlns="http://purl.oclc.org/dsdl/schematron">
  <pattern>
     <title>Date rules</title>
     <rule context="Contract">
        <assert test="ContractDate &lt; current-date()">ContractDate should be
in the past because future contracts are not allowed.</assert>
     </rule>
  </pattern>
</schema>

Last updated January 28th, 2020

Edit Schematron on GitHub