Lines Matching refs:newOwnerDocument
1815 def _clone_node(node, deep, newOwnerDocument):
1820 if node.ownerDocument.isSameNode(newOwnerDocument):
1825 clone = newOwnerDocument.createElementNS(node.namespaceURI,
1834 c = _clone_node(child, deep, newOwnerDocument)
1838 clone = newOwnerDocument.createDocumentFragment()
1841 c = _clone_node(child, deep, newOwnerDocument)
1845 clone = newOwnerDocument.createTextNode(node.data)
1847 clone = newOwnerDocument.createCDATASection(node.data)
1849 clone = newOwnerDocument.createProcessingInstruction(node.target,
1852 clone = newOwnerDocument.createComment(node.data)
1854 clone = newOwnerDocument.createAttributeNS(node.namespaceURI,
1859 assert node.ownerDocument is not newOwnerDocument
1861 clone = newOwnerDocument.implementation.createDocumentType(
1863 clone.ownerDocument = newOwnerDocument
1869 notation.ownerDocument = newOwnerDocument
1879 entity.ownerDocument = newOwnerDocument