Safe Haskell | Safe |
---|---|
Language | Haskell98 |
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] Source #