Altova XMLSpy 2025 Enterprise Edition 

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

 

Description

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.

 

Errors

2001

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

2005

Invalid element name was specified.

Invalid attribute name was specified.

Invalid address for the return parameter was specified.

 

Examples

See SetElementAttributeValue.

© 2018-2024 Altova GmbH