WRITE.XML

Write data to Xml-format.

Properties

From

Name of the Input Data Source.
The input-source can be either an In-memory Xml-document or the neutral Table-format.

To

Name of the Output Data Source.
The output-source can contain either a File-path, a PBinaryStream object or a .Net Stream object. See WRITE.* Property "To" for more information's and examples.
The format of the output will be written as Xml. If the input-source is a Table, it will be automatically converted to Xml in a tabular format (identical to the .Net DataTable)

Guide

The purpose of this Command is only to write the contents of the input-source to a File-path or send it to a Stream. No mapping or data manipulations are done.
If the input-source is an Xml document, this command will write out the Xml exactly as it is.
If the input-source is in the Table-format, the table will automatically be converted to Xml in a tabular structure, such as shown below.

<Data> <Row> <SUPPLIER_PID>AudiA4-42</SUPPLIER_PID> <EAN>4023149515354</EAN> <PRICE_AMOUNT>56000</PRICE_AMOUNT> </Row> <Row> <SUPPLIER_PID>BMW-325</SUPPLIER_PID> <EAN>5023149625378</EAN> <PRICE_AMOUNT>47000</PRICE_AMOUNT> </Row> </Data>