Text.XML.HXT.Arrow.Pickle.DTD

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

Copyright | Copyright (C) 2005 Uwe Schmidt
License | MIT
Maintainer | Uwe Schmidt (uwe@fh-wedel.de)
Stability | experimental
Portability | portable
Safe Haskell | None
Language | Haskell98

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 # |
Methods showsPrec :: Int -> DTDdescr -> ShowS # show :: DTDdescr -> String # showList :: [DTDdescr] -> ShowS #

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 #