file:create-temp-dir
Creates a temporary directory and all non-existing parent directories and returns the full path to the created directory.
create-temp-dir($prefix as xs:string, $suffix as xs:string) ➔ xs:string
Arguments | |||
| $prefix | xs:string | Prefix to be used for the start of a temporary file name |
| $suffix | xs:string | Suffix to be used for the end of a temporary file name - conventionally of a '.ext' extension form, but need not be |
Result | xs:string |
create-temp-dir($prefix as xs:string, $suffix as xs:string, $dir as xs:string) ➔ xs:string
Arguments | |||
| $prefix | xs:string | Prefix to be used for the start of a temporary file name |
| $suffix | xs:string | Suffix to be used for the end of a temporary file name - conventionally of a '.ext' extension form, but need not be |
| $dir | xs:string | Path to the directory |
Result | xs:string |
Namespace
http://expath.org/ns/file
Links to specifications
Saxon availability
Available whether or not support for XPath 3.0 is enabled. Implemented since Saxon 9.6. Requires Saxon-PE or Saxon-EE.