saxon:hexBinary-to-string
Converts a binary value to a string, given its encoding.
hexBinary-to-string($input as xs:hexBinary, $encoding as xs:string) ➔ xs:string
Arguments | |||
| $input | xs:hexBinary | The binary input value |
| $encoding | xs:string | The character encoding |
Result | xs:string |
Details
Namespace: http://saxon.sf.net/
This function takes as input an xs:hexBinary
value and the name of a character
encoding (for example "UTF8"). It interprets the contents of the hexBinary value as a sequence of bytes
representing a character string in a particular encoding, and returns the corresponding string.