Searched refs:toxml (Results 1 – 9 of 9) sorted by relevance
88 and root.toxml() == "<doc><element/><foo/></doc>"100 and root.toxml() == "<doc><element/><foo/><element/></doc>"112 and root.toxml() ==231 self.confirm(el.toxml() == '<abc spam="jam2"/>', "testAAA")244 self.confirm(el.toxml() == '<abc spam="jam2"/>', "testAAB")423 domstr = dom.toxml()465 dom.getElementsByTagName('B')[0].childNodes[0].toxml(),466 dom2.getElementsByTagName('B')[0].childNodes[0].toxml())547 and clone.toxml() == '<doc attr="value"/>'556 and clone.toxml() == '<doc attr="value"><foo/></doc>'[all …]
58 outfile.write(dom.toxml())
363 return snode.toxml()
45 def toxml(self, encoding = None): member in Node
154 .. method:: Node.toxml([encoding])
967 common methods, such as :meth:`toxml` which returns a string containing the XML974 print perslist[0].toxml()975 print perslist[1].toxml()
1643 :meth:`toxml` and :meth:`toprettyxml` methods of DOM nodes.
9812 - Issue #1390: Raise ValueError in toxml when an invalid comment would
5540 - xml.dom.minidom.toxml and toprettyxml now take an optional encoding