hxt-9.3.1.1: A collection of tools for processing XML with Haskell.

Portability | portable
Stability | experimental
Maintainer | Uwe Schmidt (uwe@fh-wedel.de)
Safe Haskell | None

Text.XML.HXT.Arrow.Pickle.DTD

Description

Version : $Id$

Functions for converting a pickler schema into a DTD

Synopsis

- data DTDdescr = DTDdescr Name Schemas [(Name, Schemas)]
- dtdDescrToXml :: DTDdescr -> XmlTrees
- checkAttrModell :: Name -> Schemas -> XmlTrees
- checkAM :: Name -> Schema -> XmlTrees
- checkAMC :: Name -> Name -> Schema -> XmlTrees
- checkContentModell :: Name -> Schema -> XmlTrees
- scContToXml :: Schema -> (Attributes, XmlTrees)
- scWrap :: Schema -> Schema
- scCont :: Attributes -> Schema -> XmlTrees
- scConts :: Attributes -> Schemas -> XmlTrees
- scAttrToXml :: Schema -> (Attributes, XmlTrees)
- checkErr :: Bool -> String -> XmlTrees
- foundErr :: String -> XmlTrees
- dtdDescr :: Schema -> DTDdescr
- elementDeclarations :: Schema -> Schemas
- elementDecs :: Schemas -> Schemas -> Schemas
- elemNames :: Schemas -> [Name]
- elemName :: Schema -> Maybe Name
- elemRefs :: Schemas -> Schemas
- attrDec :: Schema -> [(Name, Schemas)]
- remAttrDec :: Schema -> Schema

# Documentation

data DTDdescr

Constructors

DTDdescr Name Schemas [(Name, Schemas)] |

Instances

Show DTDdescr |

dtdDescrToXml :: DTDdescr -> XmlTrees

convert a DTD descr into XmlTrees

checkAttrModell :: Name -> Schemas -> XmlTrees

checkAM :: Name -> Schema -> XmlTrees

checkAMC :: Name -> Name -> Schema -> XmlTrees

checkContentModell :: Name -> Schema -> XmlTrees

scContToXml :: Schema -> (Attributes, XmlTrees)

scWrap :: Schema -> Schema

scCont :: Attributes -> Schema -> XmlTrees

scConts :: Attributes -> Schemas -> XmlTrees

scAttrToXml :: Schema -> (Attributes, XmlTrees)

checkErr :: Bool -> String -> XmlTrees

foundErr :: String -> XmlTrees

dtdDescr :: Schema -> DTDdescr

convert a pickler schema into a DTD descr

elementDeclarations :: Schema -> Schemas

elementDecs :: Schemas -> Schemas -> Schemas

elemNames :: Schemas -> [Name]

elemName :: Schema -> Maybe Name

elemRefs :: Schemas -> Schemas

attrDec :: Schema -> [(Name, Schemas)]

remAttrDec :: Schema -> Schema