Searched refs:rootnode (Results 1 – 2 of 2) sorted by relevance
17 $rootnode = $dom->documentElement; variable18 print_node($rootnode);21 $children = $rootnode->childNodes;26 $last = $rootnode->lastChild;46 $attr = $rootnode->getAttribute("src");51 $attr = $rootnode->getAttributeNode("src");55 $attr = $rootnode->removeAttribute("src");59 $attrs = $rootnode->attributes;68 $newchild = $rootnode->appendChild($myelement);84 $rootnode->removeChild($children->item(0));[all …]
22 $rootnode = $dom->documentElement;23 print_node($rootnode);26 $children = $rootnode->childNodes;31 $last = $rootnode->lastChild;49 //$rootnode->set_attributeNode($attr); 51 $attr = $rootnode->getAttribute("src");60 $attr = $rootnode->removeAttribute("src");63 echo "--------- attributes of rootnode\n";64 $attrs = $rootnode->attributes;90 print_node_list($rootnode->childNodes);[all …]
Completed in 4 milliseconds