Returns the binary form of the set of octets written as a sequence of (ASCII) hex digits ([0-9A-Fa-f]).
hex($in as xs:string?) ➔ xs:base64Binary?
The data written as a string sequence of hexadecimal digits
Links to specifications
Available whether or not support for XPath 3.0 is enabled. Implemented since Saxon 9.6. Requires Saxon-PE or Saxon-EE.