Revision 3334
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/xml_dom.py | ||
---|---|---|
263 | 263 |
child0 = children.pop(0) |
264 | 264 |
for child in children: merge(child, child0) |
265 | 265 |
|
266 |
def merge_same_name(node): |
|
267 |
'''Merges nodes with the same name as a node''' |
|
268 |
merge_by_name(node.parentNode, node.tagName) |
|
269 |
|
|
270 | 266 |
##### XML documents |
271 | 267 |
|
272 | 268 |
def create_doc(root='_'): |
Also available in: Unified diff
xml_dom.py: Removed no longer used merge_same_name()