expath-file:write-text
Writes the contents of a file as a string.
write-text($file as xs:string, $value as xs:string) ➔ xs:string
Arguments | |||
| $file | xs:string | The file to be written to |
| $value | xs:string | The string to be written |
Result | xs:string |
write-text($file as xs:string, $value as xs:string, $encoding as xs:string) ➔ xs:string
Arguments | |||
| $file | xs:string | The file to be written to |
| $value | xs:string | The string to be written |
| $encoding | xs:string | Character encoding |
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