Schema Dtypes Misc
# XSD Miscellaneous Data Types
* * *
Other miscellaneous data types include boolean, base64Binary, hexBinary, float, double, anyURI, anyURI, and NOTATION.
* * *
## Boolean Data Type
The boolean data type is used to specify true or false values.
Here's an example of a logical declaration in a schema:
The element in the document should look something like this:
999
**Note:** The valid boolean values are true, false, 1 (representing true), and 0 (representing false).
* * *
## Binary Data Types
Binary data types are used to represent data in binary form.
We can use two binary data types:
* base64Binary (binary data encoded in Base64)
* hexBinary (binary data encoded in hexadecimal)
Here's an example of a hexBinary declaration in a schema:
* * *
## AnyURI Data Type
The anyURI data type is used to specify URIs.
Here's an example of an anyURI declaration in a schema:
The element in the document should look something like this:
**Note:** If a URI contains spaces, replace them with %20.
* * *
## Miscellaneous Data Types
| Name | Description |
| --- | --- |
| anyURI | |
| base64Binary | |
| boolean | |
| double | |
| float | |
| hexBinary | |
| NOTATION | |
| QName | |
* * *
## To
YouTip