(node, attribute, default="")
| 1458 | The given field function can be used to rename field names. |
| 1459 | """ |
| 1460 | def _attr(node, attribute, default=""): |
| 1461 | return node.getAttribute(attribute) or default |
| 1462 | # parseString() will decode entities, no need for decode_entities(). |
| 1463 | from xml.dom.minidom import parseString |
| 1464 | dom = parseString(encode_utf8(xml)) |
no outgoing calls
no test coverage detected
searching dependent graphs…