file:descendants

Returns the paths of all files and directories that are located in the given directory and its subdirectories.

descendants($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 Binary Module 4.0

Saxon availability

Available in XPath 4.0 and later versions. Not implemented in Saxon.

Notes on the Saxon implementation

New in EXPath File Module 4.0. Not yet implemented in Saxon.