Home
last modified time | relevance | path

Searched refs:setAttributeNS (Results 1 – 25 of 37) sorted by relevance

12

/php-src/ext/dom/tests/modern/spec/
H A DElement_setAttributeNS.phpt2 Element::setAttributeNS()
15 $container->setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:foo", "1");
22 $container->setAttributeNS("urn:a", "a:b:c", "");
32 $container->setAttributeNS("urn:a", "x:foo", "1");
33 $container->setAttributeNS("urn:a", "y:foo", "2");
42 $container->setAttributeNS("urn:a", "x:foo", "1");
43 $container->setAttributeNS("urn:b", "x:foo", "2");
H A Dreconciliation_of_attributes.phpt11 $root->setAttributeNS("urn:a", "a:root1", "bar");
13 $root->setAttributeNS("urn:b", "a:root2", "bar");
15 $root->setAttributeNS("urn:a", "a:root3", "bar");
19 $child->setAttributeNS("urn:x", "a:child1", "bar");
21 $child->setAttributeNS("urn:a", "a:child2", "bar");
H A Dimport_of_namepace_conflicting_attributes.phpt11 $root->setAttributeNS("urn:a", "a:root1", "bar");
13 $root->setAttributeNS("urn:b", "a:root2", "bar");
17 $child->setAttributeNS("urn:x", "a:child1", "bar");
H A DNode_isEqualNode_01.phpt14 $e2->setAttributeNS("urn:example2", "example2:bar", "baz1");
15 $e2->setAttributeNS("urn:example1", "example2:bar", "baz2");
H A DAttr_name.phpt10 $foo->setAttributeNS("http://example.com", "foo:bar", "baz");
H A Dserialize_xml_ns_decl.phpt10 $root->setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns:xml', 'http://www.w3.org/XML/1998/nam…
H A DNode_isDefaultNamespace.phpt47 $element->setAttributeNS("urn:x", "x:foo", "");
48 $element->setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:q", "urn:test");
49 $element->setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns", "urn:test2");
H A DNode_lookupNamespaceURI.phpt41 $prefixed->setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:a", "urn:another");
47 $body->setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:a", "urn:another");
53 $body->setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:a", "");
H A Dimport_of_lone_attribute.phpt11 $root->setAttributeNS("urn:a", "a:foo", "bar");
H A Ddom_parsing_gh44.phpt9 $root->firstChild->setAttributeNS('uri3', 'attr1', 'value1');
H A Ddom_parsing_gh45.phpt9 $root->firstChild->setAttributeNS('u1', 'name', 'v');
H A Ddefault_namespace_move.phpt11 $child->setAttributeNS("urn:b", "foo:attr", "value");
/php-src/ext/dom/tests/
H A DDOMElement_setAttributeNS_prefix_conflict.phpt2 DOMElement::setAttributeNS() with prefix name conflict
11 $dom->documentElement->setAttributeNS('http://php.net/2', 'foo:bar', 'no1');
13 $dom->documentElement->setAttributeNS('http://php.net/2', 'bar', 'no2');
20 $dom->documentElement->setAttributeNS('http://php.net/2', 'bar', 'no1');
22 $dom->documentElement->setAttributeNS('http://php.net/2', 'bar', 'no2');
H A Dbug34276.phpt2 Bug #34276 (setAttributeNS and default namespace)
26 $foo->setAttributeNS('http://www.example.com/ns/foo', 'attra', 'attranew');
27 $foo->setAttributeNS('http://www.example.com/ns/fubar', 'attrb', 'attrbnew');
28 $foo->setAttributeNS('http://www.example.com/ns/foo', 'attrc', 'attrc');
H A Dbug49463.phpt2 Bug #49463 (setAttributeNS fails setting default namespace).
11 $root->setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://purl.org/rss/1.0/" );
H A Dbug44648.phpt27 $root->setAttributeNS(NULL, '@ghi', '789');
33 $root->setAttributeNS('urn::test', 'a:g@hi', '789');
H A DDOMDocument_adoptNode_attribute_references.phpt10 $root->setAttributeNS("urn:a", "a:root1", "bar");
H A DDOM4_DOMNode_append_ns.phpt14 $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:g', 'http://base.google.com/ns/1.0');
H A DDOM4_DOMNode_prepend_ns.phpt14 $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:g', 'http://base.google.com/ns/1.0');
H A DDOM4_DOMNode_before_ns.phpt14 $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:g', 'http://base.google.com/ns/1.0');
H A DDOM4_DOMNode_after_ns.phpt14 $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:g', 'http://base.google.com/ns/1.0');
/php-src/ext/dom/tests/bug79701/
H A Dset_attribute_xml.phpt60 echo "\n=== DOMDocument: setAttributeNS ===\n\n";
64 test($dom, fn ($element, $name, $value) => $element->setAttributeNS(getNamespace($name), $name, $va…
71 echo "\n=== Dom\\XMLDocument: setAttributeNS ===\n\n";
74 test($dom, fn ($element, $name, $value) => $element->setAttributeNS(getNamespace($name), $name, $va…
94 === DOMDocument: setAttributeNS ===
128 === Dom\XMLDocument: setAttributeNS ===
H A Dset_attribute_ns_html.phpt20 $test1->setAttributeNS($namespace, "id", 'y');
26 $test2->setAttributeNS($namespace, "id", 'x');
32 $test1->setAttributeNS($namespace, "id", 'z');
38 $test2->setAttributeNS($namespace, "id", 'z');
/php-src/ext/dom/tests/modern/xml/
H A DElement_innerOuterHTML_reading.phpt40 $element->setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns', 'http://example.com/');
46 $element->setAttributeNS('urn:a', 'name', '');
47 $element->setAttributeNS('urn:b', 'name', '');
H A Dserialize_empty_xmlns.phpt15 $x->setAttributeNS('http://www.w3.org/2000/xmlns/', 'xmlns:a', '');

Completed in 38 milliseconds

12