GET-ATTRIBUTE( ) method
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Returns the value of the specified attribute of an element referred to by an XML node reference.
Return type: CHARACTER
Applies to: X-noderef object handle
Syntax
|
- name
- The attribute name whose value is desired. Attribute names are defined within the element tag. If using a DTD, you can define attributes with the "IMPLIED" property and those attributes will appear in the DOM structure.
If the requested attribute does not exist, an empty string is returned.
The following example demonstrates listing all the attributes of the node:
|