Home
last modified time | relevance | path

Searched refs:root (Results 1 – 25 of 291) sorted by relevance

12345678910>>...12

/PHP-5.5/ext/dom/tests/
H A Dbug32615.phpt21 $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);
77 <root><first/><newsecond/><newthird/><newfourth/></root>
80 <root><first/><second/><third/><fourth/></root>
[all …]
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 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 DDOMDocumentFragment_appendXML_basic_001.phpt11 $root = $document->createElement('root');
12 $document->appendChild($root);
16 $root->appendChild($fragment);
22 <root><foo id="baz">bar</foo></root>
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 Dregsiter_node_class.phpt18 $doc->appendChild(new DOMElement('root'));
19 $root = $doc->documentElement;
20 $root->setAttribute('a', 'a1');
21 echo get_class($root), "\n";
22 print $root->testit()."\n";
23 $attr = $root->getAttributeNode('a');
28 $attr = $root->getAttributeNode('a');
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 DDOMComment_appendData_basic_Sullivan.phpt12 $root = $document->createElement('root');
13 $document->appendChild($root);
16 $root->appendChild($comment);
37 <root><comment><!--data><&"--></comment></root>
H A DDOMNode_insertBefore.phpt12 $dom->loadXML('<root/>');
28 <root/>
31 <root><B/></root>
34 <root><A/><B/></root>
H A DDOMNode_hasChildNodes.phpt13 $dom->loadXML('<root/>');
21 $dom->loadXML('<root><a/></root>');
32 $dom->loadXML('<root><a/><b/></root>');
38 <root/>
45 <root/>
H A DDOMText_appendData_basic.phpt12 $root = $document->createElement('root');
13 $document->appendChild($root);
16 $root->appendChild($text);
38 <root><text>data&gt;&lt;&amp;"</text></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 Ddomxpath.phpt24 $dom->loadXML(b'<root xmlns="urn::default"><child>myval</child></root>');
45 $root = $dom->documentElement;
46 $root->appendChild($dom->createElementNS("urn::default", "testnode", 3));
47 $root->appendChild($dom->createElementNS("urn::default", "testnode", 4));
48 $root->appendChild($dom->createElementNS("urn::default", "testnode", 4));
49 $root->appendChild($dom->createElementNS("urn::default", "testnode", 5));
/PHP-5.5/ext/simplexml/tests/
H A Dbug35785.phpt8 $xml = simplexml_load_string("<root></root>");
11 $xml = simplexml_load_string("<root></root>");
16 $xml = simplexml_load_string("<root></root>");
24 <root><bla><posts><name>FooBar</name></posts></bla></root>
27 <root><bla><posts><name>FooBar</name></posts></bla></root>
29 <root><bla><posts><name>FooBar</name></posts></bla></root>
H A Dbug26976.phpt8 $root = simplexml_load_string(
10 <root>
15 </root>
18 echo $root->child[0], "\n";
19 echo $root->child[1], "\n";
20 echo $root->child[2], "\n";
21 echo $root->child[3], "\n";
H A Dprofile11.phpt8 $root = simplexml_load_string('<?xml version="1.0"?>
9 <root xmlns:reserved="reserved-ns" xmlns:special="special-ns">
12 </root>
15 var_dump($root->children('reserved-ns')->child);
16 var_dump($root->children('special-ns')->child);
17 var_dump((string)$root->children('reserved-ns')->child);
18 var_dump((string)$root->children('special-ns')->child);
19 var_dump($root->child);
H A Dbug41861.phpt8 $xml = simplexml_load_string('<root>
14 </root>');
18 echo "root(recursive): '$name' -- namespaces: ", implode(', ', $namespaces), "\n";
20 echo "root(non-recursive): '$name' -- namespaces: ", implode(', ', $namespaces), "\n";
35 root(recursive): 'root' -- namespaces: #ns1, #ns2, #ns3
36 root(non-recursive): 'root' -- namespaces:
H A Dprofile07.phpt8 $root = simplexml_load_string('<?xml version="1.0"?>
9 <root xmlns:reserved="reserved-ns">
11 </root>
14 $rsattr = $root->child->attributes('reserved');
15 $myattr = $root->child->attributes('reserved-ns');
H A Dbug37386.phpt8 $sx1 = new SimpleXMLElement((binary)"<root />");
22 <root><node>node1</node><node>node2</node></root>
25 <root><node>New Value</node><node>node2</node></root>
H A Dprofile01.phpt7 $root = simplexml_load_string('<?xml version="1.0"?>
8 <root>
10 </root>
13 echo $root->child;
H A Dprofile03.phpt7 $root = simplexml_load_string('<?xml version="1.0"?>
8 <root>
10 </root>
13 echo $root->child['attribute'];
H A Dprofile10.phpt8 $root = simplexml_load_string('<?xml version="1.0"?>
9 <root xmlns:reserved="reserved-ns" xmlns:special="special-ns">
11 </root>
14 $rsattr = $root->child->attributes('reserved-ns');
15 $spattr = $root->child->attributes('special-ns');
H A Dbug37076.phpt7 $xml = simplexml_load_string("<root><foo /></root>");
15 <root><foo>foobar</foo></root>
/PHP-5.5/ext/xmlreader/tests/
H A Dbug42139.phpt12 <!DOCTYPE root [
13 <!ELEMENT root ANY>
16 <root>&x;</root>
28 10, root,
29 1, root,
31 15, root,
/PHP-5.5/ext/xmlwriter/tests/
H A Dbug39504.phpt12 xmlwriter_start_dtd($xw, "root");
15 xmlwriter_start_element($xw, "root");
23 $xw->startDtd("root");
26 $xw->startElement("root");
33 <!DOCTYPE root [<!ENTITY ent2 "val2">]><root/>
36 <!DOCTYPE root [<!ENTITY c PUBLIC "-//W3C//TEXT copyright//EN" "http://www.w3.org/xmlspec/copyright…

Completed in 193 milliseconds

12345678910>>...12