file:exists

Tests if the file or directory pointed by $path exists.

exists($path as xs:string) ➔ xs:boolean

Arguments

 

$path

xs:string

Path to file/directory

Result

xs:boolean

Namespace

http://expath.org/ns/file

Links to specifications

EXPath File Module