8.3. Paths #

Some report description elements reference file. Such elements are <load> and <Image>, see Loaded report and Image node. By default, these files must be in the same directory as the report XML description file, or in the current working directory for the application using OpenCReports. To lift this limitation and to allow organizing files, a search path or multiple search paths may be added. For files referenced with relative paths, the search paths will be used in their order of declaration. Search paths and the relative file path are concatenated together to form an absolute path. The first successful absolute file path match will be used in the element referencing the file.

Search paths are in the following format:

<Paths>
    <Path value="/absolute/path" />
    ...
</Paths>