Lines Matching refs:container

11 $container = $dom->appendChild($dom->createElementNS("urn:a", "container"));
15 function setAttribute($container, string $name, string $value): Dom\Attr {
16 $container->setAttribute($name, $value);
17 return $container->getAttributeNode($name);
20 $attrs[] = setAttribute($container, "foo:bar", "&hello1");
21 echo $dom->saveHtml($container), "\n";
22 $attrs[] = setAttribute($container, "foo:bar", "&hello2");
23 echo $dom->saveHtml($container), "\n";
24 $attrs[] = setAttribute($container, "bar", "&hello3");
25 echo $dom->saveHtml($container), "\n";
26 $attrs[] = setAttribute($container, "xmlns", "&hello4");
27 echo $dom->saveHtml($container), "\n";
28 $attrs[] = setAttribute($container, "XMLns", "&hello5");
29 echo $dom->saveHtml($container), "\n";
30 $attrs[] = setAttribute($container, "BAR", "&hello6");
31 echo $dom->saveHtml($container), "\n";
33 $container->setAttributeNode($dom->createAttributeNS("urn:b", "in:ns"));
34 $attrs[] = setAttribute($container, "in:ns", "&hello7");
35 echo $dom->saveHtml($container), "\n";
44 <container foo:bar="&amp;hello1"></container>
45 <container foo:bar="&amp;hello2"></container>
46 <container foo:bar="&amp;hello2" bar="&amp;hello3"></container>
47 <container foo:bar="&amp;hello2" bar="&amp;hello3" xmlns="&amp;hello4"></container>
48 <container foo:bar="&amp;hello2" bar="&amp;hello3" xmlns="&amp;hello4" XMLns="&amp;hello5"></contai…
49 <container foo:bar="&amp;hello2" bar="&amp;hello3" xmlns="&amp;hello4" XMLns="&amp;hello5" BAR="&am…
50 <container foo:bar="&amp;hello2" bar="&amp;hello3" xmlns="&amp;hello4" XMLns="&amp;hello5" BAR="&am…