What is miscellaneous XQuery data type
In this article we are going to explain miscellaneous XQuery data type.
The XQuery miscellaneous data types are anyURI, boolean, hexBinary, float, double, QName etc. XQuery miscellaneous have contain different data types-
The boolean data type is used to specify the mathematical concept of binary-valued logic: true or false. Boolean data type is derived from xdt:anyAtomicType. Here True means one(1) and false means zero(0).
Boolean has the following constraining facets-
Example of boolean data type
<xs:attribute name="value" type="xs:boolean"/>
The hexBinary represents hexa binary data and derived from xdt:anyAtomicType.
- The base64Binary dataType represents base64-encoded binary data and derived from xdt:anyAtomicType
Example of binary data type
<xs:attribute name="value" type="xs:hexBinary"/>
anyURI has the following constraining facets-
Example of anyURI data type
<xs:attribute name="src" type="xs:anyURI"/>
You may also want to read these related articles: here
Ask Your Question
Got a programming related question? You may want to post your question here