Revision 303
Added by Aaron Marcuse-Kubitza about 13 years ago
xml_dom.py | ||
---|---|---|
124 | 124 |
return children |
125 | 125 |
|
126 | 126 |
def create_doc(root='_'): |
127 |
return minidom.getDOMImplementation().createDocument(None, root, |
|
128 |
None) |
|
127 |
return minidom.getDOMImplementation().createDocument(None, root, None) |
|
129 | 128 |
|
130 |
def writexml(writer, node): node.writeprettyxml(writer) |
|
131 |
|
|
132 | 129 |
# minidom modifications |
133 | 130 |
|
134 | 131 |
minidom._write_data = lambda writer, data: writer.write(escape(data)) |
Also available in: Unified diff
xml_dom.py: Removed no longer needed xml_dom.writexml()