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
Saxon availability
Available whether or not support for XPath 3.0 is enabled. Implemented since Saxon 9.5. Requires Saxon-PE or Saxon-EE.