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.
51 pages; ISBN 9780596527716
, or download in
Author: Eric van der Vlist
New Digital Storytelling, The: Creating Narratives with New Media 2011 US$ 49.00 296 pages
The Internet For Dummies 2015 US$ 19.99 388 pages
CompTIA A+ Certification All-in-One Exam Guide, 8th Edition (Exams 220-801 & 220-802) 2012 US$ 60.00 1664 pages
Beginning ASP.NET 4.5 in VB 2012 US$ 31.49 889 pages