expath-file:path-to-uri

Translates a native file name into a URI.

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

Arguments

 

$path

xs:string

The file name (path)

Result

xs:string

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