next up previous contents
Next: 13 Glossary Up: DataVision version 0.2.0 Previous: 11 Understanding Report XML   Contents

12 Parameter Value XML Files

If there are parameters in your report and you are running a ``headless'' report (not opening the design window), then you need to specify the values of the parameters that appear in the report. To do this, you create a small XML file and specify the parameter values inside it. See Section 3.2.1, Usage for the command line argument format.

The parameter value XML file has a very simple format. A ``parameters'' element contains ``parameter'' elements, and those contain one or more ``value'' elements. For an example, see the file parameters.xml in the examples directory.

Boolean values are represented as strings. They are output as ``true'' or ``false''. When read from an XML file, ``t'', ``true'', ``y'', and ``yes'' are all interpreted as "true". Anything else is interpreted as "false". Case is not significant.



Jim Menard 2002-04-18