Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Integration Server Built-In Services | XMLData Folder | Summary of Elements in this Folder | pub.xmldata:setInstanceTag
 
pub.xmldata:setInstanceTag
WmPublic. Sets the value of an instance tag for a specific field in an XMLData document.
Input Parameters
xmlDataParent
Document The XMLData document that is a parent of the field for which to set the instance tag value.
ncName
String The NCName (non-colonized name), of the field for which you want to set an instance tag value. The NCName is also called the local name.
namespace
String Optional. The namespace URI for the field for which you want to set an instance tag value. If the field does not belong to a namespace, do not specify a value for the namespace input parameter.
particleID
String The sequential number for the particle in a model group for which you want to set an instance tag value. A value of 1 refers to the first instance of the field with ncName#namespace name.
index
String Optional. If the field for which you want to set a tag value is a repeating field (minOccurs > 0), the index for the occurrence for which you want to set a tag value. A value of 0 refers to the first instance of a repeating field. If you specify the array index that is greater than the current size of the array, the array size increases and missing entries are null.
Note:
Repeating elements are represented as arrays in XMLData.
tagName
String Name of the instance tag for which you want to set a value, such as type, nil, schemaLocation.
Note:
Tag names are case-sensitive.
tagValue
String Value to assign to the instance tag. If you specify a null value, the service removes the tag and its value from the XMLData.
Output Parameters
None.