reference/dom/domdocument/createelementns.xml
4f5e2b22575131fa5e9c3004b1c874e1acb06573
...
...
@@ -9,11 +9,11 @@
9
9
</refnamediv>
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
-
<methodsynopsis>
13
-
<modifier>public</modifier> <type>DOMElement</type><methodname>DOMDocument::createElementNS</methodname>
14
-
<methodparam><type>string</type><parameter>namespaceURI</parameter></methodparam>
12
+
<methodsynopsis role="DOMDocument">
13
+
<modifier>public</modifier> <type class="union"><type>DOMElement</type><type>false</type></type><methodname>DOMDocument::createElementNS</methodname>
14
+
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>namespace</parameter></methodparam>
15
15
<methodparam><type>string</type><parameter>qualifiedName</parameter></methodparam>
16
-
<methodparam choice="opt"><type>string</type><parameter>value</parameter></methodparam>
16
+
<methodparam choice="opt"><type>string</type><parameter>value</parameter><initializer>""</initializer></methodparam>
17
17
</methodsynopsis>
18
18
<para>
19
19
This function creates a new element node with an associated namespace.
...
...
@@ -25,7 +25,7 @@
25
25
<para>
26
26
<variablelist>
27
27
<varlistentry>
28
-
<term><parameter>namespaceURI</parameter></term>
28
+
<term><parameter>namespace</parameter></term>
29
29
<listitem>
30
30
<para>
31
31
The URI of the namespace.
...
...
@@ -45,8 +45,7 @@
45
45
<listitem>
46
46
<para>
47
47
The value of the element. By default, an empty element will be created.
48
-
You can also set the value later with <link
49
-
linkend="domnode.props.nodevalue">DOMElement::$nodeValue</link>.
48
+
You can also set the value later with <link linkend="domnode.props.nodevalue">DOMElement::$nodeValue</link>.
50
49
</para>
51
50
</listitem>
52
51
</varlistentry>
...
...
@@ -75,7 +74,7 @@
75
74
<term><constant>DOM_NAMESPACE_ERR</constant></term>
76
75
<listitem>
77
76
<para>
78
-
Raised if <parameter>qualifiedName</parameter> is a maformed qualified
77
+
Raised if <parameter>qualifiedName</parameter> is a malformed qualified
79
78
name.
80
79
</para>
81
80
</listitem>
...
...
@@ -166,7 +165,6 @@ item_type
166
165
</para>
167
166
</refsect1>
168
167
</refentry>
169
-

170
168
<!-- Keep this comment at the end of the file
171
169
Local variables:
172
170
mode: sgml
173
171