Lines Matching refs:head
2 Test Dom\Document::$head
11 var_dump($dom->head?->nodeName);
13 echo "--- After head removal ---\n";
15 $dom->head->remove();
16 var_dump($dom->head?->nodeName);
18 echo "--- head in no namespace ---\n";
20 $tmp = $dom->documentElement->appendChild($dom->createElementNS("", "head"));
21 var_dump($dom->head?->nodeName);
24 echo "--- head in right namespace ---\n";
26 … $dom->documentElement->appendChild($dom->createElementNS("http://www.w3.org/1999/xhtml", "head"));
27 var_dump($dom->head?->nodeName);
30 echo "--- prefixed head in right namespace ---\n";
32 …documentElement->appendChild($dom->createElementNS("http://www.w3.org/1999/xhtml", "prefix:head"));
33 var_dump($dom->head?->nodeName);
36 echo "--- multiple head elements in right namespace ---\n";
38 …ocumentElement->appendChild($dom->createElementNS("http://www.w3.org/1999/xhtml", "prefix1:head"));
39 var_dump($dom->head?->nodeName);
40 …ocumentElement->appendChild($dom->createElementNS("http://www.w3.org/1999/xhtml", "prefix2:head"));
41 var_dump($dom->head?->nodeName);
43 var_dump($dom->head?->nodeName);
45 var_dump($dom->head?->nodeName);
51 <head/>
54 var_dump($dom->head);
60 --- After head removal ---
62 --- head in no namespace ---
64 --- head in right namespace ---
66 --- prefixed head in right namespace ---
68 --- multiple head elements in right namespace ---