Binary values

Binary values contained in binary, varbinary, or image columns are represented in either hex or base64 encoding, depending on the option binary={hex|base64}. The base64 encoding is more compact. The choice between the two representations depends on the applications that process the XML data.