file:create-dir

Creates a directory, or does nothing if the directory already exists. The operation will create all non-existing parent directories.

create-dir($dir as xs:string) ➔ empty-sequence()

Arguments

 

$dir

xs:string

Path to the directory

Result

empty-sequence()

Namespace

http://expath.org/ns/file

Links to specifications

EXPath File Module

Saxon availability

Available whether or not support for XPath 3.0 is enabled. Implemented since Saxon 9.5. Requires Saxon-PE or Saxon-EE.