Changes
Created page with "The CreateXMLAttribute Activity creates a single [http://en.wikipedia.org/wiki/XML XML] attribute within an XML element. {{ActivityInfoBox | title = Create XML Attribute | na..."
The CreateXMLAttribute Activity creates a single [http://en.wikipedia.org/wiki/XML XML] attribute within an XML element.
{{ActivityInfoBox
| title = Create XML Attribute
| name = CreateXMLAttribute
| image =
| imagecaption = Activity CreateXMLAttribute
| purpose = Create an XML attribute
| category = Data Exchange
| returns = True if successful
| version = 2.1.15+
}}
==Arguments==
{| class="wikitable sortable" | width = "50%"
|-
! Argument!! Type !! Direction !! Purpose
|- align="left"
| ParentElement|| XMLElement|| In || The parent element where the attribute should be created at; if empty, it will take the element from its nesting host
|- align="left"
| AttributeName|| String|| In || The name of the new attribute
|- align="left"
| AttributeValue|| String|| In || The value of the new attribute
|- align="left"
| CreatedAttribute|| XMLElement|| Out || The created XML attribute
|}
==Usage==
This activity is used to create a single XML attribute at an existing element, typically as a nested activity within a [[CreateXMLElement (Activity)|CreateXMLElement]] activity.
==Example==
==See also==
* [[Workflow Designer]]
* [[CreateXMLScope (Activity)]]
* [[CreateXMLElement (Activity)]]
[[Category:Workflows]] [[Category:Activities]] [[Category:Interfacing]]
{{ActivityInfoBox
| title = Create XML Attribute
| name = CreateXMLAttribute
| image =
| imagecaption = Activity CreateXMLAttribute
| purpose = Create an XML attribute
| category = Data Exchange
| returns = True if successful
| version = 2.1.15+
}}
==Arguments==
{| class="wikitable sortable" | width = "50%"
|-
! Argument!! Type !! Direction !! Purpose
|- align="left"
| ParentElement|| XMLElement|| In || The parent element where the attribute should be created at; if empty, it will take the element from its nesting host
|- align="left"
| AttributeName|| String|| In || The name of the new attribute
|- align="left"
| AttributeValue|| String|| In || The value of the new attribute
|- align="left"
| CreatedAttribute|| XMLElement|| Out || The created XML attribute
|}
==Usage==
This activity is used to create a single XML attribute at an existing element, typically as a nested activity within a [[CreateXMLElement (Activity)|CreateXMLElement]] activity.
==Example==
==See also==
* [[Workflow Designer]]
* [[CreateXMLScope (Activity)]]
* [[CreateXMLElement (Activity)]]
[[Category:Workflows]] [[Category:Activities]] [[Category:Interfacing]]