Last modified on 4 February 2019, at 14:20

CreateXMLScope (Activity)

The CreateXMLScope Activity creates XML data. It is the root activity for an export of XML data into files.

[edit]

Description

Create XML Scope
Name CreateXMLScope
Purpose Create XML data
Category UBIK Data Exchange
Returns True if successful
Version 2.1.15+

Arguments

Argument 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
Encoding (V2.6.2+) String In Allows to set the desired Encoding; if set to a valid value, the respective header node in the XML file will be generated


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.

IC Attention.pngThis 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!

Example

See also