2 FSI Viewer JS
17
NeptuneLabs - FSI Viewer
Simple XML configuration file
<fsi_parameter>
<image>
<path value="samples/Watch.jpg" />
</image>
<options>
<skin value="silver" /><
debug value="1" />
</options>
</fsi_parameter>
Please keep in mind the following rules when using XML configuration files:
l
attribute values must be provided in double quotes
l
the last occurrence of a given parameter will be used
l
configuration files might be cached by your browser, so that changes in
these files require flushing the browser cache. This does not apply
when using the debug mode.
l
make sure to save configuration files in UTF- 8 format if your
configuration file contains language specific diacritics, Japanese
characters and alike
You can comment on or disable sections of an XML configuration file using the
usual XML comment syntax:
Comments and disabling parameters temporarily
<image>
<!—- This is a comment -->
<path value="image.tif" />
<!-- The following section will be ignored -->
<!--
<path value="anotherimage.tif" />
-->
</image>
2.4.2 Hierarchy of Configuration Parameters
As explained before parameters can be provided in two different ways:
1.
The
default
configuration file
"_ default.xml" -
located
in
WEBAPPS/fsi/viewer/ - will always be evaluated first