-
Notifications
You must be signed in to change notification settings - Fork 1
XML Writer
DonMartin76 edited this page Jul 22, 2015
·
1 revision
The XML Writer plugin is an extremely simple implementation of an XML output for arbitrary tabular data. In order to do so, use the following target definition:
<Target config="">file://[path to output file.xml]</Target>Here, it is important the file name ends with .xml, otherwise the XML Writer will not "feel responsible" for writing the output. The prefix xml:// is equivalent to using the file:// prefix. The file name still has to end with .xml.
There are currently no possibilites of configuring the output, so that the output fields always look the following way:
<?xml version="1.0" encoding="utf-8"?>
<Table>
<Entries>
<Entry>
<[field 1]>[value 1]</[field 1]>
<[field 2]>[value 2]</[field 2]>
...
</Entry>
</Entries>
</Table>Where field 1 corresponds to the field definitions in the configuration file, and the value 1 to the evaluated expression (as in any other case, too, like CSV).
Obviously, this could use some extending...
Example:
<Target config="">file://output.xml</Target>