Searched refs:documentElement (Results 1 – 25 of 102) sorted by relevance
12345
/PHP-8.2/ext/dom/tests/ |
H A D | bug80602.phpt | 11 $target = $doc->documentElement->firstChild; 17 $target = $doc->documentElement->lastChild; 24 $target = $doc->documentElement->firstChild; 30 $target = $doc->documentElement->lastChild; 37 $target = $doc->documentElement->firstChild; 43 $target = $doc->documentElement->firstChild; 50 $target = $doc->documentElement->lastChild; 56 $target = $doc->documentElement->lastChild; 63 $target = $doc->documentElement->firstChild; 69 $target = $doc->documentElement->lastChild; [all …]
|
H A D | bug80602_2.phpt | 11 $target = $doc->documentElement->firstChild; 17 $target = $doc->documentElement->lastChild; 24 $target = $doc->documentElement->firstChild; 30 $target = $doc->documentElement->lastChild; 37 $target = $doc->documentElement->firstChild; 43 $target = $doc->documentElement->firstChild; 50 $target = $doc->documentElement->lastChild; 56 $target = $doc->documentElement->lastChild; 63 $target = $doc->documentElement->firstChild; 69 $target = $doc->documentElement->lastChild; [all …]
|
H A D | DOMParentNode_empty_argument.phpt | 14 $dom->documentElement->after(...$emptyFragment->childNodes); 15 $dom->documentElement->before(...$emptyFragment->childNodes); 16 $dom->documentElement->append(...$emptyFragment->childNodes); 17 $dom->documentElement->prepend(...$emptyFragment->childNodes); 18 $dom->documentElement->after(); 19 $dom->documentElement->before(); 20 $dom->documentElement->append(); 21 $dom->documentElement->prepend(); 24 $dom->documentElement->firstChild->replaceWith(...$emptyFragment->childNodes); 27 $dom->documentElement->replaceWith(...$emptyFragment->childNodes);
|
H A D | DOMNode_hasChildNodes.phpt | 18 var_dump($dom->documentElement->hasChildNodes()); 22 var_dump($dom->documentElement->hasChildNodes()); 25 $dom->documentElement->removeChild($dom->documentElement->firstChild); 29 var_dump($dom->documentElement->hasChildNodes()); 33 var_dump($dom->documentElement->hasChildNodes());
|
H A D | gh10234.phpt | 9 $attribute = $document->documentElement->getAttributeNode('attribute'); 42 $document->documentElement->textContent = 'hello & world'; 43 var_dump($document->documentElement->textContent); 46 $document->documentElement->textContent = '<b>hi</b>'; 47 var_dump($document->documentElement->textContent); 50 $document->documentElement->textContent = 'quote "test"'; 51 var_dump($document->documentElement->textContent); 54 $document->documentElement->textContent = "quote 'test'"; 55 var_dump($document->documentElement->textContent);
|
H A D | DOM4_ChildNode_wrong_document.phpt | 15 $element = $dom1->documentElement; 18 $element->after($dom2->documentElement->firstChild); 25 $element->before($dom2->documentElement->firstChild); 32 $element->replaceWith($dom2->documentElement->firstChild);
|
H A D | DOM4_ParentNode_append.phpt | 14 $element = $dom->documentElement; 20 var_dump($dom->documentElement->childElementCount); 27 var_dump($dom->documentElement->childElementCount);
|
H A D | bug80602_3.phpt | 10 $target = $doc->documentElement->lastChild; 11 $target->before('bar', $doc->documentElement->firstChild, 'baz'); 12 echo $doc->saveXML($doc->documentElement), "\n"; 17 $target = $doc->documentElement->lastChild; 19 $target->after('bar', $doc->documentElement->firstChild, 'baz'); 20 echo $doc->saveXML($doc->documentElement), "\n";
|
H A D | DOM4_DOMNode_after.phpt | 12 $element = $dom->documentElement->firstElementChild; 13 $secondMark = $dom->documentElement->lastElementChild; 22 print_node_list_compact($dom->documentElement->childNodes);
|
H A D | DOM4_DOMNode_before.phpt | 12 $element = $dom->documentElement->firstElementChild; 13 $secondMark = $dom->documentElement->lastElementChild; 22 print_node_list_compact($dom->documentElement->childNodes);
|
H A D | DOM4_ParentNode_append_wrong_document.phpt | 15 $element = $dom1->documentElement; 18 $element->append($dom2->documentElement->firstChild); 25 $element->prepend($dom2->documentElement->firstChild);
|
H A D | bug80600.phpt | 10 $doc->documentElement->firstChild->remove(); 11 echo $doc->saveXML($doc->documentElement);
|
H A D | bug70359.phpt | 15 $spaceNode = $dom->documentElement->getAttributeNode('xmlns'); 27 $spaceNode = $dom->documentElement->firstElementChild->getAttributeNode('myattrib'); 31 $dom->documentElement->firstElementChild->remove(); 47 $spaceNode = $dom->documentElement->firstElementChild->getAttributeNode('xmlns:xsi'); 50 $dom->documentElement->firstElementChild->remove();
|
H A D | fragments_multiple_nodes_DOMParentNode.phpt | 11 $container = $dom->documentElement->firstElementChild; 19 $dom->documentElement->append('foo'); 25 $dom->documentElement->prepend($fragment);
|
H A D | DOM4_DOMNode_replaceWith.phpt | 12 $element = $dom->documentElement->firstChild; 18 print_node_list_compact($dom->documentElement->childNodes);
|
H A D | bug47530.phpt | 11 $root = $doc->documentElement; 24 $element = $doc->documentElement->firstChild; 47 $importedNode = $dom2->importNode($dom->documentElement, true); 70 $importedNode = $dom2->importNode($dom->documentElement, true); 71 $dom2->documentElement->appendChild($importedNode); 85 $dom2->documentElement->appendChild($dom2->importNode($dom->documentElement->firstChild)); 88 …$dom2->documentElement->firstChild->appendChild($dom2->importNode($dom->documentElement->firstChil… 96 $a = $dom->documentElement->firstElementChild;
|
H A D | bug47849.phpt | 14 $data= $fromdom->documentElement; 15 $aDOM->documentElement->appendChild($aDOM->importNode($data));
|
H A D | gh12616_1.phpt | 17 $doc->documentElement->removeAttributeNS('http://symfony.com/schema/dic/services', ''); 22 $new->importNode($doc->documentElement, true)
|
H A D | DOM4_ParentNode_prepend.phpt | 14 $element = $dom->documentElement; 24 $element = $dom->documentElement;
|
/PHP-8.2/ext/dom/tests/gh11830/ |
H A D | attribute_variation.phpt | 16 $doc->documentElement->firstElementChild->prepend($doc->documentElement->attributes[0]); 22 $doc->documentElement->firstElementChild->append($doc->documentElement->attributes[0]); 28 $doc->documentElement->firstElementChild->before($doc->documentElement->attributes[0]); 34 $doc->documentElement->firstElementChild->after($doc->documentElement->attributes[0]); 40 $doc->documentElement->firstElementChild->replaceWith($doc->documentElement->attributes[0]);
|
H A D | document_variation.phpt | 13 $otherElement = $otherDoc->documentElement; 24 $testElement = $doc->documentElement->firstElementChild->nextElementSibling->firstElementChild; 27 $doc->documentElement->firstElementChild->prepend($testElement, $otherElement); 33 $doc->documentElement->firstElementChild->append($testElement, $otherElement); 39 $doc->documentElement->firstElementChild->before($testElement, $otherElement); 45 $doc->documentElement->firstElementChild->after($testElement, $otherElement); 51 $doc->documentElement->firstElementChild->replaceWith($testElement, $otherElement);
|
H A D | type_variation.phpt | 16 $testElement = $doc->documentElement->firstElementChild->nextElementSibling->firstElementChild; 19 $doc->documentElement->firstElementChild->prepend($testElement, 0); 25 $doc->documentElement->firstElementChild->append($testElement, true); 31 $doc->documentElement->firstElementChild->before($testElement, null); 37 $doc->documentElement->firstElementChild->after($testElement, new stdClass); 43 $doc->documentElement->firstElementChild->replaceWith($testElement, []);
|
/PHP-8.2/ext/dom/tests/manually_call_constructor/ |
H A D | documentfragment.phpt | 18 @$doc->documentElement->appendChild($fragment); 22 @$doc->documentElement->appendChild($fragment);
|
H A D | entityreference.phpt | 18 $doc->documentElement->appendChild($entityRef); 22 $doc->documentElement->appendChild($entityRef);
|
H A D | processinginstruction.phpt | 18 $doc->documentElement->appendChild($pi); 22 $doc->documentElement->appendChild($pi);
|
Completed in 18 milliseconds
12345