Schematron is an XML-based language for validating XML instance documents. Schematron is used to make assertions about data in an XML document. Schematron is used to express operational and business rules.

Schematron Tutorial

An Introduction to Schematron

  • Why

Restricting XML Elements Based on Another Element via XSD

使用 XSLT 和 Java 扩展验证 XML 文档中的复杂约束