Lines Matching refs:document
7 $document = new DOMDocument();
8 $document->loadXML('<element attribute="value"/>');
9 $attribute = $document->documentElement->getAttributeNode('attribute');
13 var_dump($document->saveHTML());
18 var_dump($document->saveHTML());
22 var_dump($document->saveHTML());
26 var_dump($document->saveHTML());
30 var_dump($document->saveHTML());
34 var_dump($document->saveHTML());
38 var_dump($document->saveHTML());
42 $document->documentElement->textContent = 'hello & world';
43 var_dump($document->documentElement->textContent);
44 var_dump($document->saveHTML());
46 $document->documentElement->textContent = '<b>hi</b>';
47 var_dump($document->documentElement->textContent);
48 var_dump($document->saveHTML());
50 $document->documentElement->textContent = 'quote "test"';
51 var_dump($document->documentElement->textContent);
52 var_dump($document->saveHTML());
54 $document->documentElement->textContent = "quote 'test'";
55 var_dump($document->documentElement->textContent);
56 var_dump($document->saveHTML());