Copyright | (c) 2011 Douglas Burke |
---|---|
License | GPL V2 |
Maintainer | Douglas Burke |
Stability | experimental |
Portability | OverloadedStrings |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This module defines vocabulary terms from the XSD document.
Synopsis
- namespaceXSD :: Namespace
- xsdType :: LName -> 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 :: Namespace Source #
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 :: LName -> ScopedName Source #
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.
xsdString :: ScopedName Source #
xsd:string
from http://www.w3.org/TR/xmlschema-2/#string.
xsdBoolean :: ScopedName Source #
xsd:boolean
from http://www.w3.org/TR/xmlschema-2/#boolean.
xsdDecimal :: ScopedName Source #
xsd:decimal
from http://www.w3.org/TR/xmlschema-2/#decimal.
xsdFloat :: ScopedName Source #
xsd:float
from http://www.w3.org/TR/xmlschema-2/#float.
xsdDouble :: ScopedName Source #
xsd:double
from http://www.w3.org/TR/xmlschema-2/#double.
xsdDateTime :: ScopedName Source #
xsd:dateTime
from http://www.w3.org/TR/xmlschema-2/#dateTime.
xsdTime :: ScopedName Source #
xsd:time
from http://www.w3.org/TR/xmlschema-2/#time.
xsdDate :: ScopedName Source #
xsd:date
from http://www.w3.org/TR/xmlschema-2/#date.
xsdAnyURI :: ScopedName Source #
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 :: ScopedName Source #
xsd:integer
from http://www.w3.org/TR/xmlschema-2/#integer.
xsdNonPosInteger :: ScopedName Source #
xsd:nonPositiveInteger
from http://www.w3.org/TR/xmlschema-2/#nonPositiveInteger.
xsdNegInteger :: ScopedName Source #
xsd:negativeInteger
from http://www.w3.org/TR/xmlschema-2/#negativeInteger.
xsdLong :: ScopedName Source #
xsd:long
from http://www.w3.org/TR/xmlschema-2/#long.
xsdInt :: ScopedName Source #
xsd:int
from http://www.w3.org/TR/xmlschema-2/#int.
xsdShort :: ScopedName Source #
xsd:short
from http://www.w3.org/TR/xmlschema-2/#short.
xsdByte :: ScopedName Source #
xsd:byte
from http://www.w3.org/TR/xmlschema-2/#byte.
xsdNonNegInteger :: ScopedName Source #
xsd:nonNegativeInteger
from http://www.w3.org/TR/xmlschema-2/#nonNegativeInteger.
xsdUnsignedLong :: ScopedName Source #
xsd:unsignedLong
from http://www.w3.org/TR/xmlschema-2/#unsignedLong.
xsdUnsignedInt :: ScopedName Source #
xsd:unsignedInt
from http://www.w3.org/TR/xmlschema-2/#unsignedInt.
xsdUnsignedShort :: ScopedName Source #
xsd:unsignedShort
from http://www.w3.org/TR/xmlschema-2/#unsignedShort.
xsdUnsignedByte :: ScopedName Source #
xsd:unsignedByte
from http://www.w3.org/TR/xmlschema-2/#unsignedByte.
xsdPosInteger :: ScopedName Source #
xsd:positiveInteger
from http://www.w3.org/TR/xmlschema-2/#positiveInteger.