Revision 139
Added by Aaron Marcuse-Kubitza over 12 years ago
xml_func.py | ||
---|---|---|
51 | 51 |
|
52 | 52 |
def process(doc, node=None): |
53 | 53 |
if node == None: node = doc.documentElement |
54 |
name = xml_dom.name_of(node)
|
|
54 |
name = node.tagName
|
|
55 | 55 |
if name.startswith('_') and name in funcs: xml_dom.replace_with_text(doc, |
56 | 56 |
node, funcs[name](xml_dom.NodeTextEntryIter(node))) |
57 | 57 |
else: |
Also available in: Unified diff
xml_dom.py: Changed all uses of name_of(node) to node.tagName