XML - Dataset to XML
Declaration
<AMXML ACTIVITY="dataset_to_xml" RESULTDATASET="text" RESULTVARIABLE="text" />
Description
Stores an existing dataset into XML data. The dataset must first be created in a previous XML - Node to dataset step in order for proper functionality.
IMPORTANT: The use of Automate Desktop's
XML activities requires a fundamental understanding of XML schema and
general knowledge of XML-related terms, such as Nodes, XPath,
DTD and XSLT.
Practical usage
Used to get the XML representation of a dataset.
Parameters
General
Property | Type | Required | Default | Markup | Description |
---|---|---|---|---|---|
Dataset | Text | Yes | (Empty) | RESULTDATASET="theDataset" | The name of an existing dataset, created by a previous XML - Node to dataset step, in which to store into XML text. |
Populate variable with XML value | Text | Yes | (Empty) | RESULTVARIABLE="varname" | The name of an existing variable in which to store the in memory XML values. |
Example
NOTE:
- Copy and paste the sample AML code below directly into the Task Builder Steps Panel.
- To successfully run the sample code, update parameters containing user credentials, files, file paths, or other information specific to the task to match your environment.
Description
This sample task stores dataset theDataset into Automate Desktop variable theVar as XML.
Copy
<AMXML ACTIVITY="dataset_to_xml" RESULTDATASET="theDataset" RESULTVARIABLE="theVar" />