beautypg.com

Data-to-xml action, Data-to-text action – Wavetronix Command Translator (CMD-DT) - User Guide User Manual

Page 112

background image

CHAPTER 10 • TASKBUILDER ACTIONS

111

Data-to-XML Action

The Data-to-XML action (see Figure 10.4) outputs the contents of the dataset in memory

to an XML file. The resulting XML File will contain the exact same schema as the source

dataset.

Figure 10.4 – Data-to-XML Action

The Data-to-XML action has the following property:

˽

File Operation (Choice) – The File Operation property allows you to select from the

following options when creating an XML file:

Append – The new data will be added to the end of the existing XML file without

overwriting it; a new XML file will be created if one does not already exist.

Note

Using the Append setting requires that the data used to create the XML file utilizes
the same schema as the current data. If the data sources are different, this operation
will show an error.

Overwrite – The new XML file will overwrite any previous XML file with the given

filename on the system; a new XML file will be created if one does not already

exist.

Sequential – The new XML file will add a timestamp string to the end of the given

filename, allowing new files to exist along-side old files. Each file will have its cre-

ation time and date marked in the filename for easy reference.

Data-to-Text Action

The Data-to-Text action (see Figure 10.5) outputs the contents of the dataset to a text file

with a given delimiter string.

Figure 10.5 – Data-to-Text Action