expath-file:is-file

Tests whether a $file is a file (that is, it exists and is not a directory).

is-file($file as xs:string) ➔ xs:boolean

Arguments

 

$file

xs:string

The file name

Result

xs:boolean

Details

Namespace: http://expath.org/ns/file

Notes on the Saxon implementation

Implemented since Saxon 9.5; available whether or not support for XPath 3.0 is enabled