Lines Matching refs:children
17 // children() of of document would result in a memleak
18 //$children = $dom->children();
19 //print_node_list($children);
25 echo "--------- children of root\n";
26 $children = $rootnode->childNodes;
27 print_node_list($children);
29 // The last node should be identical with the last entry in the children array
39 // The children of this parent are the same children as one above
40 echo "--------- children of parent\n";
41 $children = $parent->childNodes;
42 print_node_list($children);
67 echo "--------- children of an attribute\n";
68 $children = $attrs->item(0)->childNodes;
69 print_node_list($children);
80 $children = $dom->getElementsByTagname("Silly");
81 print_node_list($children);
84 $children = $rootnode->getElementsByTagName("Silly");
85 print_node_list($children);
88 print_node($children->item(0));
89 $rootnode->removeChild($children->item(0));
107 --------- children of root
141 --------- children of parent
179 --------- children of an attribute