xsd:hexBinary
The xsd:hexBinary type represents binary data as a sequence of binary octets. It uses hexadecimal encoding, where each binary octet is a two-character hexadecimal number. Lowercase and uppercase letters A through F are permitted. For example, 0FB8 and 0fb8 are two equal xsd:hexBinary representations consisting of two octets.
Simple Type Information
Namespace: http://www.w3.org/2001/XMLSchema
Schema Document: datatypes.xsd
Content
- Based on xsd:anySimpleType
- White Space: collapse
Examples
| Valid values | Comment |
|---|---|
0FB8 | |
0fb8 | equivalent to 0FB8 |
| an empty value is valid | |
| Invalid values | Comment |
FB8 | an odd number of characters is not valid; characters must appear in pairs |
Type Inheritance Chain
- xsd:anySimpleType
- restricted by xsd:hexBinary



