Lines Matching refs:newNode
344 xmlNode *newNode; in dom_zvals_to_single_node() local
380 newNode = dom_object_get_node(newNodeObj); in dom_zvals_to_single_node()
382 if (!dom_is_pre_insert_valid_without_step_1(document, node, newNode, NULL, documentNode)) { in dom_zvals_to_single_node()
386 if (newNode->parent != NULL) { in dom_zvals_to_single_node()
387 xmlUnlinkNode(newNode); in dom_zvals_to_single_node()
392 if (newNode->type == XML_DOCUMENT_FRAG_NODE) { in dom_zvals_to_single_node()
394 newNode = newNode->children; in dom_zvals_to_single_node()
395 while (newNode) { in dom_zvals_to_single_node()
396 xmlNodePtr next = newNode->next; in dom_zvals_to_single_node()
397 xmlUnlinkNode(newNode); in dom_zvals_to_single_node()
398 dom_add_child_without_merging(node, newNode); in dom_zvals_to_single_node()
399 newNode = next; in dom_zvals_to_single_node()
402 dom_add_child_without_merging(node, newNode); in dom_zvals_to_single_node()
409 newNode = xmlNewDocTextLen(documentNode, BAD_CAST Z_STRVAL(nodes[i]), Z_STRLEN(nodes[i])); in dom_zvals_to_single_node()
410 if (UNEXPECTED(newNode == NULL)) { in dom_zvals_to_single_node()
414 dom_add_child_without_merging(node, newNode); in dom_zvals_to_single_node()