The data output is a standard XML file containing records stored as XML elements. Elements are stored in a logical tree structure with possible attributes. Values of particular columns are stored as the element's attributes, where each element represents one entire data record.
<step id='output' className='cz.adastra.cif.tasks.io.xml.write.XmlWriter'>
<properties>
<fileName>someOutputFile.xml</fileName>
<encoding>windows-1250</encoding>
<fileTemplate>
<![CDATA[<?xml version='1.0' encoding='windows-1250'?>
<doc>
{content}
</doc>]]>
</fileTemplate>
<recordTemplate>
<![CDATA[ <record
src_client_id="{src_client_id}"
src_system_id="{src_system_id}"
src_first_last_name="{src_first_name} - {src_last_name}"
src_zip="{src_zip}"
src_city="{src_city}" />
]]>
</recordTemplate>
<addXmlDeclaration>false</addXmlDeclaration>
</properties>
</step>
| iWay Software |