hxt-9.3.1.22: 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 | Safe-Inferred
Language | Haskell2010

Text.XML.HXT.Arrow.Pickle.DTD

Description

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

Instances details

Show DTDdescr Source # |
Instance details Defined in Text.XML.HXT.Arrow.Pickle.DTD Methods showsPrec :: Int -> DTDdescr -> ShowS Source # show :: DTDdescr -> String Source # showList :: [DTDdescr] -> ShowS Source #

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 #