getNamedChildren static method
Implementation
static List<XmlElement> getNamedChildren(XmlElement e, String name) {
final List<XmlElement> res = <XmlElement>[];
XmlElement? c = getFirstChild(e);
while (c != null) {
if (name == c.name.local || name == c.name.qualified) {
res.add(c);
}
c = getNextSibling(c);
}
return res;
}