bin:part

The bin:part function returns a specified part of binary data.

part($in as xs:base64Binary?, $offset as xs:integer) ➔ xs:base64Binary?

Arguments

 

$in

xs:base64Binary?

Input binary data

 

$offset

xs:integer

Offset in octets into the input data

Result

xs:base64Binary?

part($in as xs:base64Binary?, $offset as xs:integer, $size as xs:integer) ➔ xs:base64Binary?

Arguments

 

$in

xs:base64Binary?

Input binary data

 

$offset

xs:integer

Offset in octets into the input data

 

$size

xs:integer

Size in octets to operate over

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.