Writing XML Data

When an XML element is specified, the field value is placed inside the element tag:

<element>value</element>

When an attribute is mapped, the field value is placed as the value for the attribute:

<element attribute=”value”>

If a field is mapped to an element above the <records> element, the field is written only once, and will be a constant for all records. The value for this element will come from the first record.

If a null value is to be written, it is done by specifying empty content. For elements, this is:

<element></element>

For attributes, it is:

<element attribute=””>