getXmlWithClass static method
Implementation
static Iterable<XmlElement> getXmlWithClass(XmlDocument root, String classId) {
return root.descendants
.whereType<XmlElement>()
.where((p) => p.getAttribute('class') == classId)
.toList();
}