Home
last modified time | relevance | path

Searched refs:createElementNS (Results 1 – 25 of 27) sorted by relevance

12

/PHP-8.3/ext/dom/tests/
H A Ddom_create_element.phpt47 $dom->createElementNS('http://valid.com', 'valid');
56 $dom->createElementNS('http://valid.com', 'prefix:valid');
65 $dom->createElementNS('http://valid.com', '-invalid');
83 $dom->createElementNS('', 'prefix:invalid');
101 $dom->createElementNS('http://valid.com', '-prefix:valid');
110 $dom->createElementNS('-', 'prefix:valid');
218 $dom->createElementNS('', 'prefix:valid');
329 5 DOMDocument::createElementNS('http://valid.com', 'valid')
337 9 DOMDocument::createElementNS('', 'prefix:invalid')
343 12 DOMDocument::createElementNS('-', 'prefix:valid')
[all …]
H A Dgh11500.phpt2 GH-11500 (Namespace reuse in createElementNS() generates wrong output)
9 $root = $dom->createElementNS($root_ns, 'root');
12 $a1 = $dom->createElementNS('http://example.com', 'a1');
13 $b1 = $a1->appendChild($dom->createElementNS('http://example.com', 'b1'));
16 $a2 = $dom->createElementNS('http://example.com', 'a2');
17 $b2 = $a2->appendChild($dom->createElementNS('http://example.com', 'b2'));
31 $root = $dom->createElementNS($root_ns, 'root');
34 $a1 = $dom->createElementNS('http://example.com', 'a1');
35 $b1 = $a1->appendChild($dom->createElementNS('http://example.com', 'b1'));
39 $a2 = $dom->createElementNS('http://example.com', 'a2');
[all …]
H A Dreconcile_reused_namespace.phpt9 $root = $dom->createElementNS('http://www.w3.org/2000/xhtml', 'html');
22 $element = $dom->createElementNS('http://example.com/B', 'p', 'Hello World');
26 $element = $dom->createElementNS('http://example.com/A', 'p', 'Hello World');
30 $element = $dom->createElementNS('http://example.com/A', 'p', 'Hello World');
H A DDOM4_DOMNode_after_ns.phpt12 $root = $doc->createElementNS('http://www.w3.org/2005/Atom', 'element');
16 $item = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'house');
19 $item2 = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'street');
H A DDOM4_DOMNode_before_ns.phpt12 $root = $doc->createElementNS('http://www.w3.org/2005/Atom', 'element');
16 $item = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'house');
19 $item2 = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'street');
H A Ddomxpath.phpt46 $root->appendChild($dom->createElementNS("urn::default", "testnode", 3));
47 $root->appendChild($dom->createElementNS("urn::default", "testnode", 4));
48 $root->appendChild($dom->createElementNS("urn::default", "testnode", 4));
49 $root->appendChild($dom->createElementNS("urn::default", "testnode", 5));
H A DDOM4_DOMNode_append_ns.phpt12 $root = $doc->createElementNS('http://www.w3.org/2005/Atom', 'element');
16 $item = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'house');
H A DDOM4_DOMNode_prepend_ns.phpt12 $root = $doc->createElementNS('http://www.w3.org/2005/Atom', 'element');
16 $item = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'house');
H A Dgh14702.phpt18 $xi = $doc->createElementNS('http://www.w3.org/2001/XInclude', 'xi:include');
21 $fallback = $doc->createElementNS('http://www.w3.org/2001/XInclude', 'xi:fallback');
H A Dbug47849.phpt9 $aDOM->appendChild($aDOM->createElementNS('urn::root','r:root'));
H A Dbug49463.phpt9 $root = $doc->createElementNS('http://purl.org/rss/1.0/','rdf:RDF');
H A Dbug47848.phpt9 $aDOM->appendChild($aDOM->createElementNS('http://friend2friend.net/','f2f:a'));
H A Dbug80927.phpt49 $foobar = $dom->documentElement->appendChild($dom->createElementNS('some:ns', 'foo:bar'));
50 $foobar2 = $foobar->appendChild($dom->createElementNS('some:ns', 'foo:bar2'));
H A Dbug67440.phpt13 $fragment->appendChild($document->createElementNS('http://example/ns', 'myns:childNode', '1'));
15 $fragment->appendChild($document->createElementNS('http://example/ns', 'myns:childNode', '2'));
44 …$fragment->childNodes[1]->appendChild($document->createElementNS('http://example/ns2', 'myns2:chil…
H A Dbug47530.phpt22 $frag->appendChild($doc->createElementNS('https://php.net/bar', 'bar'));
23 $frag->appendChild($doc->createElementNS('', 'bar'));
H A DDOMElement_insertAdjacentElement.phpt69 $dom->documentElement->insertAdjacentElement("afterbegin", $dom->createElementNS("some:ns", "bar"));
/PHP-8.3/ext/dom/tests/delayed_freeing/
H A Dnamespace_definition_crash.phpt9 $child = $doc->documentElement->appendChild($doc->createElementNS('some:ns', 'child'));
10 $child_child = $child->appendChild($doc->createElementNS('some:ns', 'x'));
H A Dnamespace_definition_crash_in_attribute.phpt9 $child = $doc->documentElement->appendChild($doc->createElementNS('some:ns', 'child'));
14 $attr3 = $child->appendChild($doc->createElementNS('some:ns', 'childcontainer'))
H A Dprocessing_instruction.phpt8 $pi = $doc->appendChild($doc->createElementNS('some:ns', 'container'))
H A Dnamespace_xmlns_declaration.phpt9 $doc->documentElement->appendChild($el = $doc->createElementNS('http://php.net', 'example'));
H A Ddocument_fragment.phpt9 $frag->appendChild($doc->createElementNS('some:ns', 'child', 'text content'));
H A Dnamespace_xmlns_declaration_attribute_variation.phpt9 $doc->documentElement->appendChild($doc->createElementNS('http://php.net', 'example'));
H A Dentity_reference.phpt8 $entityRef = $doc->appendChild($doc->createElementNS('some:ns', 'container'))
/PHP-8.3/ext/dom/
H A Dphp_dom.stub.php762 … public function createElementNS(?string $namespace, string $qualifiedName, string $value = "") {} function in DOMDocument
H A Dphp_dom_arginfo.h626 ZEND_METHOD(DOMDocument, createElementNS);
862 ZEND_ME(DOMDocument, createElementNS, arginfo_class_DOMDocument_createElementNS, ZEND_ACC_PUBLIC)

Completed in 31 milliseconds

12