DOM Builder Reference > General XML API Methods > addAttributes
  
addAttributes
This method adds a list of attributes and the values to the specified XML element node.
Important: This method is implemented as a Progress function, not an internal procedure.
Return Codes
 
Type
Description
Logical
Indicates whether the function call was successful.
The following table lists parameters of addAttributes.
 
Parameter Name
Type
Description
I/O
Req
currentNode
Handle
Handle of the element node to which the attributes will be added.
I
Y
attributeNames
Char
List of the attribute names, delimited by the ASCII 3 (Progress chr(3)) character.
I
Y
attributeValues
Char
List of the attribute values, delimited by the ASCII 3 (Progress chr(3)) character. The number of entries is the same as the attributeNames list, and the order of values is the same as the order of names.
I
Y