hxt-7.1: A collection of tools for processing XML with Haskell.ContentsIndex
Text.XML.HXT.Validator.DTDValidation
Description
This module provides functions for validating the DTD of XML documents represented as XmlTree.
Synopsis
removeDoublicateDefs :: XmlFilter
validateDTD :: XmlFilter
Documentation
removeDoublicateDefs :: XmlFilter

Removes doublicate declarations from the DTD, which first declaration is binding. This is the case for ATTLIST and ENTITY declarations.

  • returns : A function that replaces the children of DOCTYPE nodes by a list where all multiple declarations are removed.
validateDTD :: XmlFilter

Validate a DTD.

  • returns : a functions which takes the DTD subset of the XmlTree, checks if the DTD is valid and returns a list of errors
Produced by Haddock version 0.8