(element, tag)
| 46 | return element.xpath(xpath, namespaces=nsmap) |
| 47 | |
| 48 | def _get_child_or_append(element, tag): |
| 49 | child = _child(element, tag) |
| 50 | if child is None: |
| 51 | child = _Element(tag) |
| 52 | element.append(child) |
| 53 | return child |
| 54 | |
| 55 | def _get_child_or_first(element, tag): |
| 56 | child = _child(element, tag) |
no test coverage detected
searching dependent graphs…