ancestors property

Iterable<XmlNode> ancestors

Return a lazy Iterable of the ancestors of this XmlNode (parent, grandparent, ...) in reverse document order.

Implementation

Iterable<XmlNode> get ancestors => XmlAncestorsIterable(this);