file:append-binary

Appends a Base64 item as binary to a file. If the file pointed by $file does not exist, a new file will be created.

append-binary($file as xs:string, $value as xs:base64Binary) ➔ empty-sequence()

Arguments

 

$file

xs:string

Path to file

 

$value

xs:base64Binary

Base64 binary value to be written

Result

empty-sequence()

Namespace

http://expath.org/ns/file

Links to specifications

EXPath File Module

Saxon availability

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