file:append
Appends a sequence of items to a file. If the file pointed by $file
does
not exist, a new file will be created.
append($file as xs:string, $items as item()*) ➔ empty-sequence()
Arguments | |||
| $file | xs:string | Path to file |
| $items | item()* | Sequence of items to be written |
Result | empty-sequence() |
append($file as xs:string, $items as item()*, $params as element(output:serialization-parameters)) ➔ empty-sequence()
Arguments | |||
| $file | xs:string | Path to file |
| $items | item()* | Sequence of items to be written |
| $params | element(output:serialization-parameters) | Control parameters for serialization - semantics similar to fs:serialize() |
Result | empty-sequence() |
Namespace
http://expath.org/ns/file