Portability | OverloadedStrings |
---|---|
Stability | experimental |
Maintainer | Douglas Burke |
Safe Haskell | Safe-Infered |
This module defines vocabulary terms from the XSD document.
- namespaceXSD :: Namespace
- xsdType :: Text -> ScopedName
- xsdString :: ScopedName
- xsdBoolean :: ScopedName
- xsdDecimal :: ScopedName
- xsdFloat :: ScopedName
- xsdDouble :: ScopedName
- xsdDateTime :: ScopedName
- xsdTime :: ScopedName
- xsdDate :: ScopedName
- xsdAnyURI :: ScopedName
- xsdInteger :: ScopedName
- xsdNonPosInteger :: ScopedName
- xsdNegInteger :: ScopedName
- xsdLong :: ScopedName
- xsdInt :: ScopedName
- xsdShort :: ScopedName
- xsdByte :: ScopedName
- xsdNonNegInteger :: ScopedName
- xsdUnsignedLong :: ScopedName
- xsdUnsignedInt :: ScopedName
- xsdUnsignedShort :: ScopedName
- xsdUnsignedByte :: ScopedName
- xsdPosInteger :: ScopedName
Documentation
namespaceXSD :: NamespaceSource
Maps xsd
to http://www.w3.org/2001/XMLSchema#.
XSD data types
See the XSD Schema Part 2 documentation at http://www.w3.org/TR/xmlschema-2/; the version used is "W3C Recommendation 28 October 2004", http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/.
xsdType :: Text -> ScopedNameSource
Create a scoped name for an XSD datatype with the given name.
Primitive datatypes
See the section "Primitive datatypes" at http://www.w3.org/TR/xmlschema-2/#built-in-primitive-datatypes.
xsd:string
from http://www.w3.org/TR/xmlschema-2/#string.
xsdBoolean :: ScopedNameSource
xsd:boolean
from http://www.w3.org/TR/xmlschema-2/#boolean.
xsdDecimal :: ScopedNameSource
xsd:decimal
from http://www.w3.org/TR/xmlschema-2/#decimal.
xsd:float
from http://www.w3.org/TR/xmlschema-2/#float.
xsd:double
from http://www.w3.org/TR/xmlschema-2/#double.
xsdDateTime :: ScopedNameSource
xsd:dateTime
from http://www.w3.org/TR/xmlschema-2/#dateTime.
xsd:time
from http://www.w3.org/TR/xmlschema-2/#time.
xsd:date
from http://www.w3.org/TR/xmlschema-2/#date.
xsd:anyURI
from http://www.w3.org/TR/xmlschema-2/#anyURI.
Derived datatypes
See the section "Derived datatypes" at http://www.w3.org/TR/xmlschema-2/#built-in-derived.
xsdInteger :: ScopedNameSource
xsd:integer
from http://www.w3.org/TR/xmlschema-2/#integer.
xsdNonPosInteger :: ScopedNameSource
xsd:nonPositiveInteger
from http://www.w3.org/TR/xmlschema-2/#nonPositiveInteger.
xsdNegInteger :: ScopedNameSource
xsd:negativeInteger
from http://www.w3.org/TR/xmlschema-2/#negativeInteger.
xsd:long
from http://www.w3.org/TR/xmlschema-2/#long.
xsd:int
from http://www.w3.org/TR/xmlschema-2/#int.
xsd:short
from http://www.w3.org/TR/xmlschema-2/#short.
xsd:byte
from http://www.w3.org/TR/xmlschema-2/#byte.
xsdNonNegInteger :: ScopedNameSource
xsd:nonNegativeInteger
from http://www.w3.org/TR/xmlschema-2/#nonNegativeInteger.
xsdUnsignedLong :: ScopedNameSource
xsd:unsignedLong
from http://www.w3.org/TR/xmlschema-2/#unsignedLong.
xsdUnsignedInt :: ScopedNameSource
xsd:unsignedInt
from http://www.w3.org/TR/xmlschema-2/#unsignedInt.
xsdUnsignedShort :: ScopedNameSource
xsd:unsignedShort
from http://www.w3.org/TR/xmlschema-2/#unsignedShort.
xsdUnsignedByte :: ScopedNameSource
xsd:unsignedByte
from http://www.w3.org/TR/xmlschema-2/#unsignedByte.
xsdPosInteger :: ScopedNameSource
xsd:positiveInteger
from http://www.w3.org/TR/xmlschema-2/#positiveInteger.