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 Source

Constructors

DTDdescr Name Schemas [(Name, Schemas)] |

Instances

Show DTDdescr |

dtdDescrToXml :: DTDdescr -> XmlTrees Source

convert a DTD descr into XmlTrees

checkAttrModell :: Name -> Schemas -> XmlTrees Source

checkAM :: Name -> Schema -> XmlTrees Source

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

checkContentModell :: Name -> Schema -> XmlTrees Source

scContToXml :: Schema -> (Attributes, XmlTrees)Source

scWrap :: Schema -> Schema Source

scCont :: Attributes -> Schema -> XmlTrees Source

scConts :: Attributes -> Schemas -> XmlTrees Source

scAttrToXml :: Schema -> (Attributes, XmlTrees)Source

checkErr :: Bool -> String -> XmlTrees Source

foundErr :: String -> XmlTrees Source

dtdDescr :: Schema -> DTDdescr Source

convert a pickler schema into a DTD descr

elementDeclarations :: Schema -> Schemas Source

elementDecs :: Schemas -> Schemas -> Schemas Source

elemNames :: Schemas -> [Name]Source

elemName :: Schema -> Maybe Name Source

elemRefs :: Schemas -> Schemas Source

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

remAttrDec :: Schema -> Schema Source