Lines Matching refs:renameNode
1187 self.assertRaises(xml.dom.NamespaceErr, doc.renameNode, node,
1190 self.assertRaises(xml.dom.WrongDocumentErr, doc2.renameNode, node,
1200 attr = doc.renameNode(attr, xml.dom.EMPTY_NAMESPACE, "b")
1214 attr = doc.renameNode(attr, "http://xml.python.org/ns", "c")
1230 attr = doc.renameNode(attr, "http://xml.python.org/ns2", "p:d")
1249 attr = doc.renameNode(attr, xml.dom.EMPTY_NAMESPACE, "e")
1265 self.assertRaises(xml.dom.NamespaceErr, doc.renameNode, attr,
1275 elem = doc.renameNode(elem, xml.dom.EMPTY_NAMESPACE, "a")
1284 elem = doc.renameNode(elem, "http://xml.python.org/ns", "b")
1293 elem = doc.renameNode(elem, "http://xml.python.org/ns2", "p:c")
1302 elem = doc.renameNode(elem, xml.dom.EMPTY_NAMESPACE, "d")
1319 self.assertRaises(xml.dom.NotSupportedErr, doc.renameNode, node,
1457 doc.renameNode(a2, xml.dom.EMPTY_NAMESPACE, "an")
1493 doc.renameNode(a2, xml.dom.EMPTY_NAMESPACE, "an")
1529 doc.renameNode(a2, xml.dom.EMPTY_NAMESPACE, "an")