Searched refs:newOwnerDocument (Results 1 – 1 of 1) sorted by relevance
1812 def _clone_node(node, deep, newOwnerDocument): argument1817 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)[all …]