bin:pack-double

Returns the 8-octet binary representation of a double value.

pack-double($in as xs:double) ➔ xs:base64Binary

Arguments

 

$in

xs:double

The value to pack

Result

xs:base64Binary

pack-double($in as xs:double, $octet-order as xs:string) ➔ xs:base64Binary

Arguments

 

$in

xs:double

The value to pack

 

$octet-order

xs:string

The order (most/least significant first) in which to pack or unpack octets

Result

xs:base64Binary

Namespace

http://expath.org/ns/binary

Links to specifications

EXPath Binary Module

Saxon availability

Available whether or not support for XPath 3.0 is enabled. Implemented since Saxon 9.6. Requires Saxon-PE or Saxon-EE.