Searched refs:root (Results 51 – 75 of 274) sorted by path
1234567891011
/PHP-7.4/ext/dom/tests/ |
H A D | DOMNode_insertBefore.phpt | 12 $dom->loadXML('<root/>'); 28 <root/> 31 <root><B/></root> 34 <root><A/><B/></root>
|
H A D | DOMNode_normalize_basic.phpt | 24 $root = $doc->createElement('book'); 25 $doc->appendChild($root); 28 $root->appendChild($title); 31 $root->appendChild($author);
|
H A D | DOMNode_removeChild_basic.phpt | 38 $root = $dom->documentElement; 40 $children = $root->childNodes; 48 $noderemoved = $root->removeChild($current); 51 $children = $root->childNodes;
|
H A D | DOMNode_replaceChild_basic.phpt | 12 <root><foo><bar/><baz/></foo><spam><eggs/><eggs/></spam></root>'); 36 <root><foo><qux/><baz/></foo><spam><eggs/><eggs/></spam></root> 41 <root><foo><baz/></foo><spam><qux/><eggs/></spam></root> 44 <root><foo><spam><qux/><eggs/></spam></foo></root>
|
H A D | DOMText_appendData_basic.phpt | 12 $root = $document->createElement('root'); 13 $document->appendChild($root); 16 $root->appendChild($text); 38 <root><text>data><&"</text></root>
|
H A D | DomNodeList_count.phpt | 11 $root = $document->createElement('root'); 12 $document->appendChild($root); 14 $root->setAttribute('attribute-' . $i, 'value-' . $i); 18 $root->appendChild($item); 20 var_dump($root->childNodes->length); 21 var_dump($root->childNodes->count()); 22 var_dump(count($root->childNodes));
|
H A D | bug32615.phpt | 21 $root->replaceChild($frag, $root->firstChild); 27 $root->replaceChild($frag, $root->lastChild); 36 $root->insertBefore($frag, $root->firstChild); 42 $root->replaceChild($frag, $root->lastChild); 47 $root->removeChild($root->firstChild); 52 $root->removeChild($root->firstChild); 56 $root->insertBefore($frag, $root->firstChild); 69 $root->replaceChild($frag, $root->firstChild); 76 <root><first/><newsecond/><newthird/><newfourth/></root> 79 <root><first/><second/><third/><fourth/></root> [all …]
|
H A D | bug35342.phpt | 8 $dom->loadXML("<root><foo>foobar</foo><foo>foobar#2</foo></root>");
|
H A D | bug36756.phpt | 10 $dom->loadXML('<root><child/></root>'); 12 $node = $xpath->query('/root')->item(0); 18 $dom->loadXML('<root><child/></root>'); 28 root
|
H A D | bug37456.phpt | 12 $root = $doc->getElementsByTagName('foo')->item(0); 13 $root->setAttribute('bar', '>'); 14 $attr = $root->setAttribute('bar', 'newval');
|
H A D | bug38850.phpt | 15 $root = $doc->documentElement; 17 print $root->lookupNamespaceURI(NULL);
|
H A D | bug38949.phpt | 11 $root = $doc->documentElement; 13 echo $root->getAttribute("xmlns")."\n"; 14 echo $root->getAttribute("xmlns:ns2")."\n"; 16 $child = $root->firstChild->nextSibling;
|
H A D | bug41257.phpt | 11 $root = $doc->documentElement; 14 $euri = $root->lookupNamespaceURI("ns2")."\n"; 19 $epref = $root->lookupPrefix("http://ns2")."\n"; 24 $eisdef = $root->isDefaultNamespace("http://ns")."\n";
|
H A D | bug41374.phpt | 9 <root>foo<child />baz</root> 15 $root = $doc->documentElement; 16 $foo = $root->firstChild; 20 $bar = $root->insertBefore($doc->createTextNode("bar"), $foo->nextSibling);
|
H A D | bug43364.phpt | 23 <root xmlns:xi="http://www.w3.org/2001/XInclude"> 28 <b><xi:include xpointer="xpointer(/root/a)" /></b> 29 <c><xi:include xpointer="xpointer(/root/b)" /></c> 30 </root>
|
H A D | bug44648.phpt | 9 $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 D | bug47849.phpt | 9 $aDOM->appendChild($aDOM->createElementNS('urn::root','r:root')); 22 <r:root xmlns:r="urn::root"><data xmlns="urn::data"/></r:root>
|
H A D | bug49463.phpt | 9 $root = $doc->createElementNS('http://purl.org/rss/1.0/','rdf:RDF'); 10 $doc->appendChild($root); 11 $root->setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://purl.org/rss/1.0/" );
|
H A D | bug49490.phpt | 8 $doc->loadXML('<prefix:root xmlns:prefix="urn:a" />'); 13 echo($xp->query('//prefix:root', null, false)->length . "\n");
|
H A D | bug54382.phpt | 10 <root xmlns="http://ns" xmlns:ns2="http://ns2"> 12 </root>';
|
H A D | bug66502.phpt | 10 $element = $dom->appendChild(new DOMElement('root'));
|
H A D | bug66783.phpt | 10 $doc->loadXML('<root></root>');
|
H A D | bug67081.phpt | 44 <!ELEMENT root (foo)+>
|
H A D | bug67474.phpt | 10 $doc->loadXML('<root xmlns:x="x"><a/><x:a/></root>');
|
H A D | bug73907.phpt | 8 <root> 9 </root>';
|
Completed in 78 milliseconds
1234567891011