Altova Authentic 2024 Browser Edition

AuthenticRange.GetElementHierarchy

Home Prev Top Next

See also

 

Method: GetElementHierarchy (out_arrElementNames as Variant)

 

Description

Retrieve the names of all XML elements that are parents of the current selection. Inner elements get listed before enclosing elements. An empty list is returned whenever the current selection is not inside a single XMLData element.

 

The names of the element hierarchy, together with the range object uniquely identify XMLData elements in the document. The attributes of these elements can be directly accessed by GetElementAttributeNames, and related methods.

 

Errors


2001

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


2005

Invalid address for the return parameter was specified.

 

Examples

See SetElementAttributeValue.

 

© 2017-2023 Altova GmbH