XPath/XQuery hexBinary-equal function

Summary

Returns true if two xs:hexBinary values contain the same octet sequence.

Operator Mapping

Defines the semantics of the "eq" and "ne" operators when applied to two xs:hexBinary values.

Signature

op:hexBinary-equal(
$value1 as xs:hexBinary,
$value2 as xs:hexBinary
) as xs:boolean

Rules

The function returns true if $value1 and $value2 are of the same length, measured in binary octets, and contain the same octets in the same order. Otherwise, it returns false.