XPath and XSLT for Validation
- Validation by locating invalid data
- Node selection by
- pattern
- node counting
- existence tests
- numeric, boolean, string operations
- Particularly good for:
- calculations
- analysis of the tree as a whole
(schemas focus on parent/child and
content)
- multidocument constraints
(list of legal values in a separate file)
- relationship between values (checksum)