HaXml-1.24: Utilities for manipulating XML documents

Safe HaskellSafe-Inferred

Text.XML.HaXml.Schema.HaskellTypeModel

Description

A type model for Haskell datatypes that bears a reasonable correspondence to the XSD type model.

Synopsis

Documentation

type Comment = Maybe StringSource

Comments can be attached to most things, but not all of them will exist.

data Module Source

The whole Haskell module.

data Restrict Source

Restrictions on simpleType

Instances

mkModule :: String -> Schema -> [Decl] -> ModuleSource

A helper for building the formal Module structure.