resolve-filepath
Resolves a relative file path against a base folder. The function supports '.' (current directory) and '..' (parent directory).

Languages
Built-in, C++, C#, Java, XQuery, XSLT 1.0, XSLT 2.0, XSLT 3.0.
Parameters
Argument | Description |
---|---|
basefolder | Mandatory argument. Supplies the base directory relative to which the path should be resolved. This can be an absolute or relative path. |
filepath | Mandatory argument. Supplies the relative file path to be resolved. |
Examples
In the mapping below, the relative file path ..\oute.gpx is resolved against the C:\data directory.

The mapping result is C:\oute.gpx.