expath-file:write
Writes the contents of a file as a string.
write($file as xs:string, $items as item()*) ➔ xs:string
Arguments | |||
| $file | xs:string | The file to be written to |
| $items | item()* | The values to be written |
Result | xs:string |
write($file as xs:string, $items as item()*, $params as element(output:serialization-parameters)) ➔ xs:string
Arguments | |||
| $file | xs:string | The file to be written to |
| $items | item()* | The values to be written |
| $params | element(output:serialization-parameters) | Serialization parameters |
Result | xs:string |
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