file:write-binary

Writes binary data to a file.

write-binary($file as xs:string, $value as xs:base64Binary, $offset as xs:integer?:=0) ➔ empty-sequence()

Arguments

 

$file

xs:string

Path to file

 

$value

xs:base64Binary

Base64 binary value to be written

 

$offset

xs:integer?

:= 0

Byte offset into the file for reading or writing

Result

empty-sequence()

Namespace

http://expath.org/ns/file

Links to specifications

EXPath File Module 1.0

EXPath File Module 4.0

Saxon availability

Available in XPath 2.0 and later versions. Implemented since Saxon 9.5. Requires Saxon-PE or Saxon-EE. Available for all platforms.