Sample Rule
Schematron rules can be created using a standard XML editor or XForms application. The following is a sample schema:
This rule checks to make sure that the ContractDate XML element has a date that is before the current date. If this rule fails the validation will fail and an error message which is the body of the assert element will be returned to the user.
Read more about this topic: Schematron
Famous quotes containing the words sample and/or rule:
“All that a city will ever allow you is an angle on itan oblique, indirect sample of what it contains, or what passes through it; a point of view.”
—Peter Conrad (b. 1948)
“The rule is, jam tomorrow and jam yesterdaybut never jam today.”
—Lewis Carroll [Charles Lutwidge Dodgson] (18321898)