file:path-to-native

Transforms a path to a canonical representation.

path-to-native($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 1.0

EXPath File Module 4.0

Saxon availability

Available in XPath 2.0 and later versions. Implemented since Saxon 9.5. Requires Saxon-PE or Saxon-EE. Available for all platforms.