file:parent

Transforms the given path into an absolute path, as specified by file:resolve-path, and returns the parent directory.

parent($path as xs:string) ➔ xs:string?

Arguments

 

$path

xs:string

Path to file/directory

Result

xs:string?

Namespace

http://expath.org/ns/file

Links to specifications

EXPath File Module