Difference between revisions of "Activity:CreateXMLScope (Activity)"
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | 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. | ||
+ | |||
+ | = Description = | ||
{{ActivityInfoBox | {{ActivityInfoBox | ||
| title = Create XML Scope | | title = Create XML Scope | ||
Line 10: | Line 13: | ||
}} | }} | ||
− | + | ===Arguments=== | |
− | + | ||
− | ==Arguments== | + | |
− | + | ||
{| class="wikitable sortable" | width = "50%" | {| class="wikitable sortable" | width = "50%" | ||
|- | |- | ||
Line 23: | Line 23: | ||
|- align="left" | |- align="left" | ||
| XMLElement|| {{XmlElement_MSDN}}|| Out || The created root XML element | | XMLElement|| {{XmlElement_MSDN}}|| Out || The created root XML element | ||
+ | |- align="left" | ||
+ | | Encoding (V2.6.2+)|| {{String_MSDN}}|| In || Allows to set the desired [https://docs.microsoft.com/en-us/dotnet/api/system.text.encoding?view=netframework-4.5 Encoding]; if set to a valid value, the respective header node in the XML file will be generated | ||
|} | |} | ||
+ | |||
+ | |||
==Usage== | ==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 (Activity)|CreateXMLElement]] of [[CreateXMLAttribute (Activity)|CreateXMLAttribute]] activities, either as direct children but more commonly wrapped within looping activities like ForEach or While. | + | 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 [[Activity:CreateXMLElement (Activity)|CreateXMLElement]] of [[Activity:CreateXMLAttribute (Activity)|CreateXMLAttribute]] activities, either as direct children but more commonly wrapped within looping activities like ForEach or While. |
{{Attention|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!}} | {{Attention|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!}} | ||
− | + | = Example = | |
+ | <headertabs /> | ||
==See also== | ==See also== | ||
* [[Workflow Designer]] | * [[Workflow Designer]] | ||
− | * [[CreateXMLElement (Activity)]] | + | * [[Activity:CreateXMLElement (Activity)]] |
− | * [[CreateXMLAttribute (Activity)]] | + | * [[Activity:CreateXMLAttribute (Activity)]] |
− | [[Category: | + | [[Category:XML|CreateXMLScope (Activity)]] |
Latest revision as of 14:20, 4 February 2019
The CreateXMLScope Activity creates XML data. It is the root activity for an export of XML data into files.