file:path-to-uri

Transforms a file system path into a URI with the file:// scheme. If the path is relative, it is first resolved against the current working directory.

path-to-uri($path as xs:string) ➔ xs:anyURI

Arguments

 

$path

xs:string

Path to file/directory

Result

xs:anyURI

Namespace

http://expath.org/ns/file

Links to specifications

EXPath File Module