Home
last modified time | relevance | path

Searched refs:root (Results 226 – 250 of 291) sorted by last modified time

12345678910>>...12

/PHP-5.5/ext/dom/tests/
H A Dbug38949.phpt11 $root = $doc->documentElement;
13 echo $root->getAttribute("xmlns")."\n";
14 echo $root->getAttribute("xmlns:ns2")."\n";
16 $child = $root->firstChild->nextSibling;
H A Dbug44648.phpt9 $doc->loadXML('<root/>');
11 $root = $doc->documentElement;
15 $root->setAttributeNode($attr);
21 $root->setAttribute('@def', '456');
27 $root->setAttributeNS(NULL, '@ghi', '789');
33 $root->setAttributeNS('urn::test', 'a:g@hi', '789');
38 echo $doc->saveXML($root);
45 <root/>
H A Dbug47849.phpt9 $aDOM->appendChild($aDOM->createElementNS('urn::root','r:root'));
22 <r:root xmlns:r="urn::root"><data xmlns="urn::data"/></r:root>
H A Ddom001.phpt21 echo "--------- root\n";
25 echo "--------- children of root\n";
34 // The parent of this last node is the root again
71 echo "--------- Add child to root\n";
102 --------- root
107 --------- children of root
185 --------- Add child to root
H A Ddom_comment_basic.phpt19 $root = $dom->documentElement;
20 var_dump($root->hasChildNodes());
21 $children = $root->childNodes;
H A Ddom_comment_variation.phpt16 $root = $dom->documentElement;
17 var_dump($root->hasChildNodes());
18 $children = $root->childNodes;
H A Ddom_set_attr_node.phpt12 <root a="b" />
22 $root = $dom->documentElement;
23 $attr = $root->getAttributeNode('a');
H A DDOMDocument_saveHTMLFile_error1.phpt13 $root = $doc->createElement('html');
14 $root = $doc->appendChild($root);
16 $head = $root->appendChild($head);
H A DDOMDocument_saveHTMLFile_formatOutput.phpt15 $root = $doc->createElement('html');
16 $root = $doc->appendChild($root);
18 $head = $root->appendChild($head);
H A DDOMDocument_saveHTMLFile_invalid_filename.phpt14 $root = $doc->createElement('html');
15 $root = $doc->appendChild($root);
17 $head = $root->appendChild($head);
H A DDOMDocument_saveHTML_basic.phpt13 $root = $doc->createElement('html');
14 $root = $doc->appendChild($root);
16 $head = $root->appendChild($head);
H A DDOMDocument_saveHTML_variant1.phpt10 $root = $doc->createElement('html');
11 $root = $doc->appendChild($root);
13 $head = $root->appendChild($head);
H A DDOMDocument_save_basic.phpt12 $root = $doc->createElement('book');
14 $root = $doc->appendChild($root);
17 $title = $root->appendChild($title);
H A DDOMDocument_savexml_basic.phpt27 $root = $dom->documentElement;
H A DDOMDocument_schemaValidateSource_error2.phpt22 …ment 'books': No matching global declaration available for the validation root. in %s.php on line …
H A DDOMDocument_schemaValidate_error2.phpt20 …ment 'books': No matching global declaration available for the validation root. in %s.php on line …
H A DDOMNode_cloneNode_basic.phpt38 $root = $dom->documentElement;
41 $children = $root->childNodes;
46 $noderemoved = $root->removeChild($current);
65 $root->appendChild($cloned_first_course_default);
66 $root->appendChild($cloned_first_course_true);
67 $root->appendChild($cloned_first_course_false);
69 $children = $root->childNodes;
H A DDOMDocument_saveHTMLFile_basic.phpt14 $root = $doc->createElement('html');
15 $root = $doc->appendChild($root);
17 $head = $root->appendChild($head);
H A DDOMAttr_ownerElement_error_001.phpt12 $root = $document->createElement('root');
13 $document->appendChild($root);
14 $attr = $root->setAttribute('category', 'books');
15 $document->removeChild($root);
16 $root = null;
H A DDOMCharacterData_appendData_basic.phpt12 $root = $document->createElement('root');
13 $document->appendChild($root);
16 $root->appendChild($cdata);
37 <root><cdata><![CDATA[data><&"]]></cdata></root>
H A DDOMCharacterData_appendData_error_001.phpt11 $root = $document->createElement('root');
12 $document->appendChild($root);
15 $root->appendChild($cdata);
H A DDOMCharacterData_data_basic_002.phpt12 $root = $document->createElement('root');
13 $document->appendChild($root);
16 $root->appendChild($cdata);
25 <root><![CDATA[t]]></root>
28 <root><![CDATA[100]]></root>
H A DDOMCharacterData_deleteData_basic_001.phpt11 $root = $document->createElement('root');
12 $document->appendChild($root);
15 $root->appendChild($cdata);
H A DDOMCharacterData_deleteData_error_001.phpt11 $root = $document->createElement('root');
12 $document->appendChild($root);
15 $root->appendChild($cdata);
H A DDOMCharacterData_deleteData_error_002.phpt11 $root = $document->createElement('root');
12 $document->appendChild($root);
15 $root->appendChild($cdata);

Completed in 32 milliseconds

12345678910>>...12