Lines Matching refs:newNode
132 xmlNode *newNode; in dom_zvals_to_fragment() local
162 newNode = dom_object_get_node(newNodeObj); in dom_zvals_to_fragment()
164 if (newNode->doc != documentNode) { in dom_zvals_to_fragment()
170 if (newNode->parent != NULL) { in dom_zvals_to_fragment()
171 xmlUnlinkNode(newNode); in dom_zvals_to_fragment()
175 xmlSetTreeDoc(newNode, documentNode); in dom_zvals_to_fragment()
177 if (newNode->type == XML_ATTRIBUTE_NODE) { in dom_zvals_to_fragment()
184 if (!xmlAddChild(fragment, newNode)) { in dom_zvals_to_fragment()
199 newNode = xmlNewDocText(documentNode, (xmlChar *) Z_STRVAL(nodes[i])); in dom_zvals_to_fragment()
201 xmlSetTreeDoc(newNode, documentNode); in dom_zvals_to_fragment()
203 if (!xmlAddChild(fragment, newNode)) { in dom_zvals_to_fragment()