Jump to: navigation, search

Difference between revisions of "Activity:CreateXMLScope (Activity)"


Line 11: Line 11:
  
 
The CreateXMLScope Activity creates [http://en.wikipedia.org/wiki/XML XML] data. It is the root activity for an export of XML data into files.
 
The CreateXMLScope Activity creates [http://en.wikipedia.org/wiki/XML XML] data. It is the root activity for an export of XML data into files.
 
 
 
 
 
  
 
==Arguments==
 
==Arguments==
Line 23: Line 18:
 
! Argument!! Type !! Direction !! Purpose  
 
! Argument!! Type !! Direction !! Purpose  
 
|- align="left"
 
|- align="left"
| FileName|| String|| In || The file the created XML data should be saved to
+
| FileName|| {{String_MSDN}}|| In || The file the created XML data should be saved to
 
|- align="left"
 
|- align="left"
| XMLRootName|| String|| In || The name of the root element in the XML data; default is ''UbikXMLData''
+
| XMLRootName|| {{String_MSDN}}|| In || The name of the root element in the XML data; default is ''UbikXMLData''
 
|- align="left"
 
|- align="left"
| XMLElement|| XMLElement|| Out || The created root XML element
+
| XMLElement|| {{XmlElement_MSDN}}|| Out || The created root XML element
 
|}
 
|}
  

Revision as of 14:53, 8 January 2015

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

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

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

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