Home
last modified time | relevance | path

Searched refs:documentElement (Results 1 – 25 of 102) sorted by relevance

12345

/PHP-8.2/ext/dom/tests/
H A Dbug80602.phpt11 $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 Dbug80602_2.phpt11 $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 DDOMParentNode_empty_argument.phpt14 $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 DDOMNode_hasChildNodes.phpt18 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 Dgh10234.phpt9 $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 DDOM4_ChildNode_wrong_document.phpt15 $element = $dom1->documentElement;
18 $element->after($dom2->documentElement->firstChild);
25 $element->before($dom2->documentElement->firstChild);
32 $element->replaceWith($dom2->documentElement->firstChild);
H A DDOM4_ParentNode_append.phpt14 $element = $dom->documentElement;
20 var_dump($dom->documentElement->childElementCount);
27 var_dump($dom->documentElement->childElementCount);
H A Dbug80602_3.phpt10 $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 DDOM4_DOMNode_after.phpt12 $element = $dom->documentElement->firstElementChild;
13 $secondMark = $dom->documentElement->lastElementChild;
22 print_node_list_compact($dom->documentElement->childNodes);
H A DDOM4_DOMNode_before.phpt12 $element = $dom->documentElement->firstElementChild;
13 $secondMark = $dom->documentElement->lastElementChild;
22 print_node_list_compact($dom->documentElement->childNodes);
H A DDOM4_ParentNode_append_wrong_document.phpt15 $element = $dom1->documentElement;
18 $element->append($dom2->documentElement->firstChild);
25 $element->prepend($dom2->documentElement->firstChild);
H A Dbug80600.phpt10 $doc->documentElement->firstChild->remove();
11 echo $doc->saveXML($doc->documentElement);
H A Dbug70359.phpt15 $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 Dfragments_multiple_nodes_DOMParentNode.phpt11 $container = $dom->documentElement->firstElementChild;
19 $dom->documentElement->append('foo');
25 $dom->documentElement->prepend($fragment);
H A DDOM4_DOMNode_replaceWith.phpt12 $element = $dom->documentElement->firstChild;
18 print_node_list_compact($dom->documentElement->childNodes);
H A Dbug47530.phpt11 $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 Dbug47849.phpt14 $data= $fromdom->documentElement;
15 $aDOM->documentElement->appendChild($aDOM->importNode($data));
H A Dgh12616_1.phpt17 $doc->documentElement->removeAttributeNS('http://symfony.com/schema/dic/services', '');
22 $new->importNode($doc->documentElement, true)
H A DDOM4_ParentNode_prepend.phpt14 $element = $dom->documentElement;
24 $element = $dom->documentElement;
/PHP-8.2/ext/dom/tests/gh11830/
H A Dattribute_variation.phpt16 $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 Ddocument_variation.phpt13 $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 Dtype_variation.phpt16 $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 Ddocumentfragment.phpt18 @$doc->documentElement->appendChild($fragment);
22 @$doc->documentElement->appendChild($fragment);
H A Dentityreference.phpt18 $doc->documentElement->appendChild($entityRef);
22 $doc->documentElement->appendChild($entityRef);
H A Dprocessinginstruction.phpt18 $doc->documentElement->appendChild($pi);
22 $doc->documentElement->appendChild($pi);

Completed in 14 milliseconds

12345