Book description
Schematron is a rule-based XML schema language, offering flexibility and power that W3C XML schema, RELAX NG, and DTDs simply can't match.
You need Schematron and can't settle for other languages if you have to check rules that go beyond checking the document structures (i.e., checking that an element bar is included in element foo) and their datatypes. Schematron is the right tool for checking conditions such as "startDate is earlier than or equal to endDate."
Schematron is also the right tool to use if you have to raise user-friendly error messages rather than depend on error messages that are generated by a schema processor and that are often obscure. Schematron builds on XPath. You will need to understand XPath to to get the most from Schematron.
Product information
- Title: Schematron
- Author(s):
- Release date: March 2007
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596558741
You might also like
article
Reinventing the Organization for GenAI and LLMs
Previous technology breakthroughs did not upend organizational structure, but generative AI and LLMs will. We now …
book
Special Edition Using XSLT
Special Edition Using XSLT starts with an overview explaining how XSLT fits into the bigger picture …
book
Effective XML: 50 Specific Ways to Improve Your XML
Praise for Effective XML “This is an excellent collection of XML best practices: essential reading for …
book
XML Pocket Reference, 3rd Edition
XML, the Extensible Markup Language, is everywhere: the syntax of choice for newly designed document formats …