bin:bin

Returns the binary form of the set of octets written as a sequence of (8-wise) (ASCII) binary digits ([01]).

bin($in as xs:string?) ➔ xs:base64Binary?

Arguments

 

$in

xs:string?

The data written as a string sequence of binary digits

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.