descendantElements property
Iterable<XmlElement>
descendantElements
Return a lazy Iterable of the descendants XmlElement
nodes of this
node (attributes, children, grandchildren, ...) in document order.
Implementation
Iterable<XmlElement> get descendantElements =>
descendants.whereType<XmlElement>();