Altova Authentic 2023 Desktop

Method: GetElementHierarchy (out_arrElementNames as Variant)



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.





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


Invalid address for the return parameter was specified.



© 2017-2023 Altova GmbH