filterElements function
Implementation
Iterable<XmlElement> filterElements(
Iterable<XmlNode> iterable,
String name,
String? namespace,
) {
final matcher = createNameMatcher(name, namespace);
return iterable.whereType<XmlElement>().where(matcher);
}