Create a simple type from a string
Constructors are in the
http://www.w3.org/2001/XMLSchema-datatypes
namespace which is "understood" to be mapped to the xs
prefix
Numeric constructors:
xs:decimal(string $srcval) => decimal
xs:integer(string $srcval) => integer
xs:long(string $srcval) => integer
xs:int(string $srcval) => integer
xs:short(string $srcval) => integer
xs:byte(string $srcval) => integer
xs:float(string $srcval) => float
xs:double(string $srcval) => double
xs:nonPositiveInteger($arg as xdt:anyAtomicType) => xs:nonPositiveInteger
xs:negativeInteger($arg as xdt:anyAtomicType) => xs:negativeInteger
xs:long($arg as xdt:anyAtomicType) => xs:long
xs:int($arg as xdt:anyAtomicType) => xs:int
xs:short($arg as xdt:anyAtomicType) => xs:short
xs:byte($arg as xdt:anyAtomicType) => xs:byte
xs:nonNegativeInteger($arg as xdt:anyAtomicType) => xs:nonNegativeInteger
xs:unsignedLong($arg as xdt:anyAtomicType) => xs:unsignedLong
xs:unsignedInt($arg as xdt:anyAtomicType) => xs:unsignedInt
xs:unsignedShort($arg as xdt:anyAtomicType) => xs:unsignedShort
xs:unsignedByte($arg as xdt:anyAtomicType) => xs:unsignedByte
xs:positiveInteger($arg as xdt:anyAtomicType) => xs:positiveInteger
String constructors
xs:string(string $srcval) => string
xs:normalizedString(string $srcval) => normalizedString
xs:token(string $srcval) => token
xs:language(string $srcval) => language
xs:Name(string $srcval) => Name
xs:NMTOKEN(string $srcval) => NMTOKEN
xs:NCName(string $srcval) => NCName
xs:ID(string $srcval) => ID
xs:IDREF(string $srcval) => IDREF
xs:ENTITY(string $srcval) => ENTITY
xs:QName(string $srcval) => QName
Boolean constructors:
xs:boolean(string $srcval) => boolean
Duration and Datetime constructors:
xs:duration(string $srcval) => duration
xs:dateTime(string $srcval) => dateTime
xs:date(string $srcval) => date
xs:time(string $srcval) => time
xs:gYearMonth(string $srcval) => gYearMonth
xs:gYear(string $srcval) => gYear
xs:gMonthDay(string $srcval) => gMonthDay
xs:gMonth(string $srcval) => gMonth
xs:gDay(string $srcval) => gDay
xdt:yearMonthDuration($arg as xdt:anyAtomicType) => xdt:yearMonthDuration
xdt:dayTimeDuration($arg as xdt:anyAtomicType) => xdt:dayTimeDuration
Constructor for anyURI:
xs:anyURI(string $srcval) => anyURI
Constructors for NOTATION:
xs:NOTATION(string $srcval) => NOTATION
Binary types:
xs:hexBinary($arg as xdt:anyAtomicType) => xs:hexBinary
xs:base64Binary($arg as xdt:anyAtomicType) => xs:base64Binary
xdt:untypedAtomic($arg as xdt:anyAtomicType) as xdt:untypedAtomic