Lines Matching refs:dom
4 dom
10 $dom = Dom\HTMLDocument::createEmpty();
12 $dom->appendChild($dom->createElement('container'));
13 var_dump($dom->createAttributeNS('http://www.w3.org/1999/xhtml', 'html')->nodeName);
14 var_dump($dom->createAttributeNS('http://www.w3.org/1999/xhtml', 'foo:html')->nodeName);
18 var_dump($dom->createElementNS('http://www.w3.org/1999/xhtml', 'html')->nodeName);
19 var_dump($dom->createElementNS('http://www.w3.org/1999/xhtml/', 'html')->nodeName);
20 var_dump($dom->createElementNS('http://www.w3.org/1999/xhtml', 'foo:html')->nodeName);
21 var_dump($dom->createElementNS('http://www.w3.org/1999/xhtml/', 'foo:html')->nodeName);
22 var_dump($dom->createElementNS('', 'html')->nodeName);
23 var_dump($dom->createElementNS(null, 'html')->nodeName);
27 $dom = Dom\XMLDocument::createEmpty();
29 $dom->appendChild($dom->createElement('container'));
30 var_dump($dom->createAttributeNS('http://www.w3.org/1999/xhtml', 'html')->nodeName);
31 var_dump($dom->createAttributeNS('http://www.w3.org/1999/xhtml', 'foo:html')->nodeName);
35 var_dump($dom->createElementNS('http://www.w3.org/1999/xhtml', 'html')->nodeName);
36 var_dump($dom->createElementNS('http://www.w3.org/1999/xhtml/', 'html')->nodeName);
37 var_dump($dom->createElementNS('http://www.w3.org/1999/xhtml', 'foo:html')->nodeName);
38 var_dump($dom->createElementNS('http://www.w3.org/1999/xhtml/', 'foo:html')->nodeName);
39 var_dump($dom->createElementNS('', 'html')->nodeName);
40 var_dump($dom->createElementNS(null, 'html')->nodeName);