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 File Module 4.0

Saxon availability

Available in XPath 4.0, provided that 4.0 features are enabled (see Enabling 4.0 features). Not implemented in Saxon.

Notes on the Saxon implementation

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