Altova MapForce 2024 Enterprise Edition

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

mf-func-resolve-filepath

 

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.

mf-func-resolve-filepath-example

The mapping result is C:\oute.gpx.

© 2017-2023 Altova GmbH