Project

General

Profile

« Previous | Next » 

Revision 153

Added str() method to XML nodes

View differences:

scripts/lib/xml_dom.py
145 145
    else: _writexml_orig(self, writer, indent, addindent, newl)
146 146

  
147 147
xml.dom.minidom.Element.writexml = _writexml
148

  
149
xml.dom.minidom.Node.__str__ = lambda self: self.toxml()

Also available in: Unified diff