Difference between revisions of "Activity:CreateXMLAttribute (Activity)"
| Line 16: | Line 16: | ||
! Argument!! Type !! Direction !! Purpose | ! Argument!! Type !! Direction !! Purpose | ||
|- align="left" | |- align="left" | ||
| − | | ParentElement|| {{ | + | | ParentElement|| {{XmlElement_MSDN}}|| In || The parent element where the attribute should be created at; if empty, it will take the element from its nesting host |
|- align="left" | |- align="left" | ||
| AttributeName|| {{String_MSDN}}|| In || The name of the new attribute | | AttributeName|| {{String_MSDN}}|| In || The name of the new attribute | ||
| Line 22: | Line 22: | ||
| AttributeValue|| {{String_MSDN}}|| In || The value of the new attribute | | AttributeValue|| {{String_MSDN}}|| In || The value of the new attribute | ||
|- align="left" | |- align="left" | ||
| − | | CreatedAttribute|| {{ | + | | CreatedAttribute|| {{XmlElement_MSDN}}|| Out || The created XML attribute |
|} | |} | ||
Revision as of 14:53, 8 January 2015
| Create XML Attribute | |
|---|---|
| Name | CreateXMLAttribute |
| Purpose | Create an XML attribute |
| Category | Data Exchange |
| Returns | True if successful |
| Version | 2.1.15+ |
The CreateXMLAttribute Activity creates a single XML attribute within an XML element.
Contents
Arguments
| Argument | Type | Direction | Purpose |
|---|---|---|---|
| ParentElement | XmlElement | In | The parent element where the attribute should be created at; if empty, it will take the element from its nesting host |
| AttributeName | String | In | The name of the new attribute |
| AttributeValue | String | In | The value of the new attribute |
| 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.
