Searched refs:appendChild (Results 1 – 25 of 91) sorted by relevance
1234
/PHP-8.2/ext/dom/tests/ |
H A D | bug32615.phpt | 9 $frag->appendChild(new DOMElement('root')); 10 $dom->appendChild($frag); 13 $frag->appendChild(new DOMElement('first')); 14 $root->appendChild($frag); 16 $frag->appendChild(new DOMElement('second')); 17 $root->appendChild($frag); 20 $frag->appendChild($node); 32 $frag->appendChild(new DOMElement('third')); 35 $frag->appendChild(new DOMElement('start')); 44 $frag->appendChild(new DOMElement('first')); [all …]
|
H A D | bug65196.phpt | 14 $div->appendChild($dom->createElement('span')); 15 $frag2->appendChild($div); 16 $frag2->appendChild($dom->createElement('div')); 17 $frag2->appendChild($dom->createElement('div'));
|
H A D | dom006.phpt | 11 $titleElement->appendChild($this->createTextNode($title)); 13 $authorElement->appendChild($this->createTextNode($author)); 17 $bookElement->appendChild($titleElement); 18 $bookElement->appendChild($authorElement); 19 $this->documentElement->appendChild($bookElement);
|
H A D | DOMDocument_saveHTML_variant1.phpt | 9 $root = $doc->appendChild($root); 11 $head = $root->appendChild($head); 13 $title = $head->appendChild($title); 15 $text = $title->appendChild($text);
|
H A D | DOMDocument_saveHTML_basic.phpt | 12 $root = $doc->appendChild($root); 14 $head = $root->appendChild($head); 16 $title = $head->appendChild($title); 18 $text = $title->appendChild($text);
|
H A D | DOMDocument_saveHTMLFile_invalid_filename.phpt | 13 $root = $doc->appendChild($root); 15 $head = $root->appendChild($head); 17 $title = $head->appendChild($title); 19 $text = $title->appendChild($text);
|
H A D | DOM4_ParentNode_Fragment.phpt | 13 $fragment->appendChild($dom->createTextNode('foo')); 14 $fragment->appendChild($dom->createElement('bar', 'FirstElement')); 15 $fragment->appendChild($dom->createElement('bar', 'LastElement')); 16 $fragment->appendChild($dom->createTextNode('bar'));
|
H A D | DOMDocument_saveHTMLFile_formatOutput_gte_2_13.phpt | 18 $root = $doc->appendChild($root); 20 $head = $root->appendChild($head); 22 $title = $head->appendChild($title); 24 $text = $title->appendChild($text);
|
H A D | DOMDocumentFragment_appendXML_error_003.phpt | 12 $document->appendChild($root); 16 $root->appendChild($fragment); 19 Warning: DOMNode::appendChild(): Document Fragment is empty in %s on line %d
|
H A D | DOMDocument_createProcessingInstruction_basic.phpt | 14 $newnode = $doc->appendChild($node); 18 $node->appendChild($test_proc_inst0); 22 $node->appendChild($test_proc_inst1);
|
H A D | fragments_multiple_nodes_DOMParentNode.phpt | 14 $fragment->appendChild($dom->createElement('p', '1')); 15 $fragment->appendChild($dom->createElement('b', '2')); 23 $fragment->appendChild($dom->createElement('p', '3')); 24 $fragment->appendChild($dom->createElement('b', '4'));
|
H A D | DOMDocument_saveHTML_basic_gte_2_13.phpt | 17 $root = $doc->appendChild($root); 19 $head = $root->appendChild($head); 21 $title = $head->appendChild($title); 23 $text = $title->appendChild($text);
|
H A D | bug81642.phpt | 10 $doc->appendChild($target = $doc->createElement('test')); 16 $doc->appendChild($target = $doc->createElement('test')); 22 $doc->appendChild($target = $doc->createElement('test')); 28 $doc->appendChild($target = $doc->createElement('test'));
|
H A D | DOMDocument_saveHTMLFile_basic.phpt | 17 $root = $doc->appendChild($root); 19 $head = $root->appendChild($head); 21 $title = $head->appendChild($title); 23 $text = $title->appendChild($text);
|
H A D | DOMDocument_saveHTMLFile_formatOutput.phpt | 18 $root = $doc->appendChild($root); 20 $head = $root->appendChild($head); 22 $title = $head->appendChild($title); 24 $text = $title->appendChild($text);
|
H A D | DOMDocument_save_basic.phpt | 12 $root = $doc->appendChild($root); 15 $title = $root->appendChild($title); 18 $text = $title->appendChild($text);
|
H A D | dom003.phpt | 13 $rootNode->appendChild($rootNode); 22 $rootNode->appendChild($rootNode); 48 string(11) "appendChild" 67 #0 %sdom003.php(%d): DOMNode->appendChild(Object(DOMElement))
|
H A D | DOMCharacterData_appendData_basic.phpt | 13 $document->appendChild($root); 16 $root->appendChild($cdata); 19 $cdata->appendChild($cdatanode);
|
H A D | DOMComment_appendData_basic_Sullivan.phpt | 13 $document->appendChild($root); 16 $root->appendChild($comment); 19 $comment->appendChild($commentnode);
|
H A D | DOMText_appendData_basic.phpt | 13 $document->appendChild($root); 16 $root->appendChild($text); 19 $text->appendChild($textnode);
|
H A D | gh16151.phpt | 11 $doc->appendChild($element); 20 $attr->appendChild(new DOMComment("h")); 26 $attr->appendChild($doc->createEntityReference('amp'));
|
H A D | DOMNode_normalize_basic.phpt | 23 $doc->appendChild($root); 26 $root->appendChild($title); 29 $root->appendChild($author); 32 $title->appendChild($text); 39 $title->appendChild($text);
|
H A D | bug67440.phpt | 12 $fragment->appendChild($document->createTextNode("\n")); 13 $fragment->appendChild($document->createElementNS('http://example/ns', 'myns:childNode', '1')); 14 $fragment->appendChild($document->createTextNode("\n")); 15 $fragment->appendChild($document->createElementNS('http://example/ns', 'myns:childNode', '2')); 16 $fragment->appendChild($document->createTextNode("\n")); 49 echo "== appendChild ==\n"; 50 echo "-- fragment to document element --\n"; case1('appendChild'); echo "\n"; 51 echo "-- children manually document element --\n"; case2('appendChild'); echo "\n"; 52 echo "-- fragment to document where first element is not a text node --\n"; case3('appendChild'); e… 53 echo "-- fragment with namespace declarations in children --\n"; case4('appendChild'); echo "\n"; [all …]
|
H A D | bug47530.phpt | 13 $frag->appendChild($doc->importNode($root->firstChild)); 14 $root->appendChild($frag); 22 $frag->appendChild($doc->createElementNS('https://php.net/bar', 'bar')); 23 $frag->appendChild($doc->createElementNS('', 'bar')); 25 $element->appendChild($frag); 48 $dom2->appendChild($importedNode); 71 $dom2->documentElement->appendChild($importedNode); 85 $dom2->documentElement->appendChild($dom2->importNode($dom->documentElement->firstChild)); 99 $a->appendChild($b); 114 echo "-- Test appendChild with shadowing --\n"; [all …]
|
H A D | DOMNode_hasChildNodes_basic.phpt | 20 $doc->appendChild($root); 23 $root->appendChild($title); 26 $title->appendChild($text);
|
Completed in 22 milliseconds
1234