hxt-9.3.1.21: A collection of tools for processing XML with Haskell.
CopyrightCopyright (C) 2005 Uwe Schmidt
LicenseMIT
MaintainerUwe Schmidt (uwe@fh-wedel.de)
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Text.XML.HXT.Arrow.Pickle.Schema

Description

Datatypes and functions for building a content model for XML picklers. A schema is part of every pickler and can be used to derive a corrensponding DTD (or Relax NG schema). This schema further enables checking the picklers.

Synopsis

Documentation

data Schema Source #

The datatype for modelling the structure of an

Constructors

Any 
Seq 

Fields

Alt 

Fields

Rep 

Fields

Element 

Fields

Attribute 

Fields

ElemRef 

Fields

CharData 

Fields

Instances

Instances details
Eq Schema Source # 
Instance details

Defined in Text.XML.HXT.Arrow.Pickle.Schema

Methods

(==) :: Schema -> Schema -> Bool #

(/=) :: Schema -> Schema -> Bool #

Show Schema Source # 
Instance details

Defined in Text.XML.HXT.Arrow.Pickle.Schema

isScXsd :: (String -> Bool) -> Schema -> Bool Source #

test: is schema a simple XML Schema datatype

isScFixed :: Schema -> Bool Source #

test: is type a fixed value attribute type

xsdParam :: String -> Schema -> String Source #

access an attribute of a descr of an atomic type