WRITE.XML

  • Updated

 

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)

 

Parameters

@OutputFileAs

Allows to retrieve the output of an action and write it to a file path, a stream, or the application server jobs log. Possible values:

  • FilePath - The file is saved to the specified path.
  • Stream - The file is returned as a stream. 
  • JobLog - The file is attached to the application server job log.

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>

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.