About XML Variables
- Last UpdatedDec 18, 2023
- 1 minute read
AVEVA Work Tasks uses XML variables to provide data inputs to workflows. XML variables can be configured in the Start activity through the XMLVariables property.
Different Types of XML Variables:
The following table lists different XML variables available for a Quickflow:
|
XML variable |
Description |
|---|---|
|
XML Document |
Using 'XML Document' variable, the required items can be fetched. |
|
XML Iterator |
'XML Iterator' variable allows you to define variables for repeating XML elements and attributes. |
The XML Variable Interface provides the following functionality:
-
Defining XML schema for the XML Variable either by specifying the complete schema or loading an XML document which is the source of the schema.
-
Defining variables of type XML Document to retrieve data from XML files.
-
Defining variables of type XML Iterator to retrieve data within repeating nodes within an XML schema. The XML Iterator represents a collection of XML Nodes at some level in the XML variable schema. It allows you to perform actions on XML nodes such as looping through XMLnodes and getting the value of a specific node at any location.
Note: Support for Special Characters in XML node Names of XML Variables: Special characters such as, < > { } * ? [ ] ( ) - _ , = | ; ` +, and % are allowed while naming XML node of XML Variables. XMLVariable will not support XML node names with special characters, such as \, ~, !, ', :, ", #, `, &, ., @, ^, and $.