expath-file:append-text-lines
Appends a sequence of strings to a file, each followed by a newline.
append-text-lines($file as xs:string, $values as xs:string*) ➔ empty-sequence()
Arguments | |||
| $file | xs:string | The file name |
| $values | xs:string* | The data to be appended |
Result | empty-sequence() |
append-text-lines($file as xs:string, $values as xs:string*, $encoding as xs:string) ➔ empty-sequence()
Arguments | |||
| $file | xs:string | The file name |
| $values | xs:string* | The data to be appended |
| $encoding | xs:string | Character encoding to be used |
Result | empty-sequence() |
Details
Namespace: http://expath.org/ns/file
Notes on the Saxon implementation
Implemented since Saxon 9.5; available whether or not support for XPath 3.0 is enabled