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:setNamepaceTag
 
pub.xmldata:setNamepaceTag
WmPublic. Sets the namespace declaration for a particular field.
Input Parameters
xmlDataParent
Document The XMLData document that is a parent of the field for which to set a namespace declaration.
ncName
String The NCName (non-colonized name), of the field for which you want to set a namespace declaration. The NCName is also called the local name.
namespace
String Optional. The namespace URI for the field for which you want to set a namespace declaration. 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 a namespace declaration. 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 namespace declaration is a repeating element (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. If you specify an index that is beyond the end of the array, the service increases the size of the array and the intervening indexes have a null value.
Note:
Repeating elements are represented as arrays in XMLData.
tagName
String The prefix to associate with the namespace declaration. Specify an empty string to associate a value with the default namespace declaration, that is, specify: “”
tagValue
String The namespace URI to associate with the prefix in tagName. If you specify a null value, the service removes the namespace declaration from the XMLData.
Output Parameters
None.