Lines Matching refs:newOwnerDocument
1812 def _clone_node(node, deep, newOwnerDocument): argument
1817 if node.ownerDocument.isSameNode(newOwnerDocument):
1822 clone = newOwnerDocument.createElementNS(node.namespaceURI,
1831 c = _clone_node(child, deep, newOwnerDocument)
1835 clone = newOwnerDocument.createDocumentFragment()
1838 c = _clone_node(child, deep, newOwnerDocument)
1842 clone = newOwnerDocument.createTextNode(node.data)
1844 clone = newOwnerDocument.createCDATASection(node.data)
1846 clone = newOwnerDocument.createProcessingInstruction(node.target,
1849 clone = newOwnerDocument.createComment(node.data)
1851 clone = newOwnerDocument.createAttributeNS(node.namespaceURI,
1856 assert node.ownerDocument is not newOwnerDocument
1858 clone = newOwnerDocument.implementation.createDocumentType(
1860 clone.ownerDocument = newOwnerDocument
1866 notation.ownerDocument = newOwnerDocument
1876 entity.ownerDocument = newOwnerDocument