Lines Matching refs:renameNode
1041 self.assertRaises(xml.dom.NamespaceErr, doc.renameNode, node,
1044 self.assertRaises(xml.dom.WrongDocumentErr, doc2.renameNode, node,
1054 attr = doc.renameNode(attr, xml.dom.EMPTY_NAMESPACE, "b")
1068 attr = doc.renameNode(attr, "http://xml.python.org/ns", "c")
1084 attr = doc.renameNode(attr, "http://xml.python.org/ns2", "p:d")
1103 attr = doc.renameNode(attr, xml.dom.EMPTY_NAMESPACE, "e")
1119 self.assertRaises(xml.dom.NamespaceErr, doc.renameNode, attr,
1129 elem = doc.renameNode(elem, xml.dom.EMPTY_NAMESPACE, "a")
1138 elem = doc.renameNode(elem, "http://xml.python.org/ns", "b")
1147 elem = doc.renameNode(elem, "http://xml.python.org/ns2", "p:c")
1156 elem = doc.renameNode(elem, xml.dom.EMPTY_NAMESPACE, "d")
1173 self.assertRaises(xml.dom.NotSupportedErr, doc.renameNode, node,
1311 doc.renameNode(a2, xml.dom.EMPTY_NAMESPACE, "an")
1347 doc.renameNode(a2, xml.dom.EMPTY_NAMESPACE, "an")
1383 doc.renameNode(a2, xml.dom.EMPTY_NAMESPACE, "an")