HaXml-1.24: Utilities for manipulating XML documents

Safe Haskell | Safe-Inferred

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]