Home
last modified time | relevance | path

Searched refs:rootnode (Results 1 – 2 of 2) sorted by relevance

/PHP-7.0/ext/dom/examples/
H A Ddom1.php17 $rootnode = $dom->documentElement; variable
18 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 …]
/PHP-7.0/ext/dom/tests/
H A Ddom001.phpt22 $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 12 milliseconds