|
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'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:
- The sample AML code below can be copied and pasted directly into the Steps Panel of the Task Builder.
- Parameters containing user credentials, files, file paths, and/or other information specific to the task must be customized before the sample code can run successfully.
Description
This sample task stores dataset theDataset into Automate variable theVar as XML.
Copy
<AMXML ACTIVITY="dataset_to_xml" RESULTDATASET="theDataset" RESULTVARIABLE="theVar" />