Altova XMLSpy 2024 Enterprise Edition

Method: GetElementAttributeValue (strElementName as String, strAttributeName as String) as String



Retrieve the value of the attribute specified in strAttributeName, for the element identified with strElementName. If the attribute is supported but has no value assigned, the empty string is returned. To find out the names of attributes supported by an element, use GetElementAttributeNames, or HasElementAttribute.




The authentic range object, or its related view object is no longer valid.


Invalid element name was specified.

Invalid attribute name was specified.

Invalid address for the return parameter was specified.



See SetElementAttributeValue.

© 2018-2024 Altova GmbH