saxon:octets-to-hexBinary

Converts a sequence of octets to a hexBinary value.

octets-to-hexBinary($octets as xs:integer*) ➔ xs:hexBinary

Arguments

 

$octets

xs:integer*

The sequence of octets

Result

xs:hexBinary

Namespace

http://saxon.sf.net/

Saxon availability

Requires Saxon-PE or Saxon-EE.

Notes on the Saxon implementation

Available since Saxon 8.1.

Details

This function takes a sequence of integers as input, and treats them as octets. The integers must therefore all be in the range 0-255. The result of the function is the xs:hexBinary value representing this sequence of octets.

See also:

saxon:hexBinary-to-octets()