expath-file:dir-separator

Returns the separator used in a native file name (typically "/" or "\").

dir-separator() ➔ xs:string

There are no arguments

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