Difference between revisions of "Activity:CreateXMLAttribute (Activity)"
Line 10: | Line 10: | ||
}} | }} | ||
The CreateXMLAttribute Activity creates a single [http://en.wikipedia.org/wiki/XML XML] attribute within an XML element. | The CreateXMLAttribute Activity creates a single [http://en.wikipedia.org/wiki/XML XML] attribute within an XML element. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Arguments== | ==Arguments== | ||
− | |||
{| class="wikitable sortable" | width = "50%" | {| class="wikitable sortable" | width = "50%" | ||
|- | |- | ||
! 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|| | + | | AttributeName|| {{String_MSDN}}|| In || The name of the new attribute |
|- align="left" | |- align="left" | ||
− | | AttributeValue|| | + | | 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:52, 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 MSDN | 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 MSDN | 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.