HaXml-1.25.4: Utilities for manipulating XML documents

Safe Haskell | Safe
Language | Haskell98

Text.XML.HaXml.DtdToHaskell.Convert

Description

This module performs the translation of a parsed XML DTD into the internal representation of corresponding Haskell data/newtypes.

Note that dtdToTypeDef is partial - it will crash if you resolve qualified names (namespaces) to URIs beforehand. It will only work on the original literal name forms "prefix:name".

# Documentation

dtd2TypeDef :: [MarkupDecl] -> [TypeDef]