Changes

Activity:CreateXMLElement (Activity)

1,853 bytes added, 08:14, 23 July 2013
Created page with "The CreateXMLElement Activity creates a single [http://en.wikipedia.org/wiki/XML XML] element within XML data. {{ActivityInfoBox | title = Create XML Element | name = CreateX..."
The CreateXMLElement Activity creates a single [http://en.wikipedia.org/wiki/XML XML] element within XML data.

{{ActivityInfoBox
| title = Create XML Element
| name = CreateXMLElement
| image =
| imagecaption = Activity CreateXMLElement
| purpose = Create an XML element
| category = Data Exchange
| returns = The created element
| version = 2.1.15+
}}







==Arguments==

{| class="wikitable sortable" | width = "50%"
|-
! Argument!! Type !! Direction !! Purpose
|- align="left"
| ParentElement|| XMLElement|| In || The parent element where the new element should be created below; if empty, it will take the element from its nesting host
|- align="left"
| ElementName|| String|| In || The name of the new element
|- align="left"
| ElementValue|| String|| In || The value of the new element
|- align="left"
| ElementComment|| String|| In || The comment to the new element
|- align="left"
| CreatedElement|| XMLElement|| Out || The created XML element
|}

==Usage==

This activity is used to create a single XML element below an existing element, as a nested activity within a [[CreateXMLScope (Activity)|CreateXMLScope]] activity. It is a nestable activity, which means it can host a sub activity that will be processed. The hosted activities are typically [[CreateXMLElement (Activity)|CreateXMLElement]] again, or [[CreateXMLAttribute (Activity)|CreateXMLAttribute]] activities, either as direct children or wrapped into other activities like ''ForEach'' or ''Sequence''.

{{Attention|This activity provides the created XML element automatically to all XML sub activities, so the XML hierarchy will be built in the very way sub activities are nested!}}

==Example==


==See also==
* [[Workflow Designer]]
* [[CreateXMLScope (Activity)]]
* [[CreateXMLAttribute (Activity)]]

[[Category:Workflows]] [[Category:Activities]] [[Category:Interfacing]]