siblingElements property
Returns an Iterable over the XmlElement siblings of this node. If the node has no parent or no siblings, return an empty collection.
Implementation
@override
Iterable<XmlNode> get siblingElements => siblings.whereType<XmlElement>();