When an element has been produced (found) as a result of the interpretation of a Location Path or Location Rules (that is either by an Element Iterator specified to collect elements with "Simple/Advanced Location Rules" method or by a function from "Elements / attributes | Location Paths & Rules" category), any element from which the given element has been eventually reached during the interpretation of the Location Path/Rules is called predecessor of this element.
The generator tracks predecessors of each element and they can be obtained
via GOMElement.predecessor
and GOMElement.predecessors
properties.
Those properties proved to be a very useful tool to navigate the Data Source Model and resolve various queries on it.
See Also:
GOMElement.predecessor, GOMElement.predecessors,
findPredecessorByType(), getPredecessorsUntilType(), getPredecessorsUntilId()