Lines Matching refs:toxml
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>'
994 self.confirm(doc.toxml() == u'<?xml version="1.0" ?><foo>\u20ac</foo>'
995 and doc.toxml('utf-8') ==
997 and doc.toxml('iso-8859-15') ==
1439 self.assertRaises(ValueError, doc.toxml)
1444 doc2 = parseString(doc.toxml())