descendantsNamed method

Iterable<XmlLiteElement> descendantsNamed(
  1. String local
)

Every descendant element with local name local, in document order.

Implementation

Iterable<XmlLiteElement> descendantsNamed(String local) sync* {
  for (final e in childElements) {
    if (e.localName == local) yield e;
    yield* e.descendantsNamed(local);
  }
}