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...
- the Schematron wikipedia page
- Schematron first appeared in 1999
- Have a question about Schematron not answered here? Email me and let me know how I can help.
Example code from the web:
<schema xmlns="http://purl.oclc.org/dsdl/schematron"> <pattern> <title>Date rules</title> <rule context="Contract"> <assert test="ContractDate < current-date()">ContractDate should be in the past because future contracts are not allowed.</assert> </rule> </pattern> </schema>
Last updated June 22nd, 2020