file:children

Returns the paths of all files and directories that are located in the given directory. The order of the items in the resulting sequence is not defined. The "." and ".." items are never returned.

children($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

Saxon availability

Available whether or not support for XPath 3.0 is enabled. Implemented since Saxon 9.6. Requires Saxon-PE or Saxon-EE.