Return type:
Applies to:
GET-ATTRIBUTE ( name )If hNoderef is an element node with various attributes, and anames and bname are character program variables, the following example demonstrates listing all the attributes of the node:
anames = hNoderef:ATTRIBUTE-NAMES.REPEAT jx = 1 TO NUM-ENTRIES(anames):bname = ENTRY(jx, anames).MESSAGE "attribute-name is" bname "value is"hNoderef:GET-ATTRIBUTE(bname).END.
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |