CreateXMLScope (Activity)
The CreateXMLScope Activity creates XML data. It is the root activity for an export of XML data into files.
Create XML Scope | |
---|---|
Name | CreateXMLScope |
Purpose | Create XML data |
Category | Data Exchange |
Returns | True if successful |
Version | 2.1.15+ |
Contents
Argument
Arguments | Type | Direction | Purpose |
---|---|---|---|
FileName | String | In | The file the created XML data should be saved to |
XMLRootName | String | In | The name of the root element in the XML data; default is UbikXMLData |
XMLElement | XMLElement | Out | The created root XML element |
Usage
This activity is used to start the export of XML data. It is a nestable activity, which means it can host any amount of sub-activities that will be processed sequentially. The hosted activities are typically CreateXMLElement of CreateXMLAttribute activities, either as direct children but more commonly wrapped within looping activities like ForEach or While.
This activity provides the created XML document and the root node automatically to all XML sub activities, so the XML hierarchy will be built in the very way sub activities are nested! |