Lines Matching refs:root

9     $root = $dom->createElementNS($root_ns, 'root');
10 $dom->appendChild($root);
14 $root->appendChild($a1);
18 $root->appendChild($a2);
22 var_dump($root->namespaceURI);
31 $root = $dom->createElementNS($root_ns, 'root');
32 $dom->appendChild($root);
37 $root->appendChild($a1);
48 $root->appendChild($a2);
52 var_dump($root->namespaceURI);
61 echo "-- Constructed from API (depth 2, mismatched root variation) --\n";
64 echo "-- Constructed from API (depth 2, matching root variation) --\n";
67 echo "-- Constructed from API (depth 3, mismatched root variation, non-swapped) --\n";
70 echo "-- Constructed from API (depth 3, matching root variation, non-swapped) --\n";
73 echo "-- Constructed from API (depth 3, mismatched root variation, swapped) --\n";
76 echo "-- Constructed from API (depth 3, matching root variation, swapped) --\n";
80 …version="1.0"?><root xmlns="http://example2.com"><a1 xmlns="http://example.com"><b1/></a1><a2 xmln…
85 var_dump($dom->documentElement->namespaceURI); // root
92 -- Constructed from API (depth 2, mismatched root variation) --
94 <root xmlns="http://example2.com"><a1 xmlns="http://example.com"><b1/></a1><a2 xmlns="http://exampl…
100 -- Constructed from API (depth 2, matching root variation) --
102 <root xmlns="http://example.com"><a1><b1/></a1><a2><b2/></a2></root>
108 -- Constructed from API (depth 3, mismatched root variation, non-swapped) --
110 <root xmlns="http://example2.com"><a1 xmlns="http://example.com"><b1><c1/></b1></a1><a2 xmlns="http…
118 -- Constructed from API (depth 3, matching root variation, non-swapped) --
120 <root xmlns="http://example.com"><a1><b1><c1/></b1></a1><a2><b2><c2/></b2></a2></root>
128 -- Constructed from API (depth 3, mismatched root variation, swapped) --
130 <root xmlns="http://example2.com"><a1 xmlns="http://example.com"><b1><c1/></b1></a1><a2 xmlns="http…
138 -- Constructed from API (depth 3, matching root variation, swapped) --
140 <root xmlns="http://example.com"><a1><b1><c1/></b1></a1><a2><b2><c2/></b2></a2></root>
150 <root xmlns="http://example2.com"><a1 xmlns="http://example.com"><b1/></a1><a2 xmlns="http://exampl…