file:create-temp-dir
Creates a temporary directory.
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 in XPath 2.0 and later versions. Implemented since Saxon 9.6. Requires Saxon-PE or Saxon-EE. Available for all platforms.