Image localizations are defined in image files which specify the URL of each image and the ID to use to refer to it in the img element. Note that the URL of each image is relative to the file.
These files can be any kind of files (XML, HTML, text files, etc...). There are two ways to refer to these resource files:
Relative to the resource element. In that case, the resource file is under the "doc-file" directory which is under the element article parent[1]
This allows to use XML files as resources
.
Through a resource definition File. In that case, resource files are under the "doc-file" directory which is under the resource definition file parent[1]
This allows to use XML files as resources
. This way allows to define the resource only once but use it in many articles in the wiki