| |||||||||||
| |||||||||||
Description | |||||||||||
This module provides functions for validating XML documents represented as XmlTree. | |||||||||||
Synopsis | |||||||||||
| |||||||||||
Documentation | |||||||||||
getDTDSubset :: XmlFilter | |||||||||||
validate :: XmlFilter | |||||||||||
Main validation filter. Check if the DTD and the document are valid.
| |||||||||||
validateDTD :: XmlFilter | |||||||||||
Check if the DTD is valid.
| |||||||||||
validateDoc :: XmlFilter | |||||||||||
Check if the document corresponds to the given DTD.
| |||||||||||
removeDoublicateDefs :: XmlFilter | |||||||||||
Removes doublicate declarations from the DTD which first declaration is binding. This is the case for ATTLIST and ENTITY declarations.
| |||||||||||
transform :: XmlFilter | |||||||||||
filter for transforming a document with respect to the given DTD. Validating parsers are expected to normalize attribute values and add default values. This function should be called after a successful validation.
| |||||||||||
Produced by Haddock version 0.8 |