xs:untypedAtomic
The data type xs:untypedAtomic
serves
as a special type annotation to indicate atomic values that have not
been validated by an XML schema or a DTD.
An attribute that has an unknown type is represented in the data model by an attribute node with the type
xs:untypedAtomic
. The data type xs:untypedAtomic
can be used (for example, in a function signature) to define a required type to indicate that only an untyped atomic value is acceptable. The base type of xs:untypedAtomic
is xs:anyAtomicType
.Lexical form of xs:untypedAtomic
xs:untypedAtomic
can have any lexical form.
Constructor of xs:untypedAtomic
Use the following syntax to construct an instance of xs:untypedAtomic
:
- value
- The value that is to be constructed. If this value is an empty
sequence, the empty sequence is returned.
If value is illegal for the target data type, the constructor function returns an error.