reference/dom/domelement/setattributens.xml
a8dc22c06600603a7ec57afc6296ae002df250e8
...
...
@@ -1,21 +1,21 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xml:id='domelement.setattributens' xmlns="http://docbook.org/ns/docbook">
3
+
<refentry xml:id="domelement.setattributens" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>DOMElement::setAttributeNS</refname>
6
6
<refpurpose>Adds new attribute</refpurpose>
7
7
</refnamediv>
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
-
<methodsynopsis>
10
+
<methodsynopsis role="DOMElement">
11
11
<modifier>public</modifier> <type>void</type><methodname>DOMElement::setAttributeNS</methodname>
12
-
<methodparam><type>string</type><parameter>namespaceURI</parameter></methodparam>
12
+
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>namespace</parameter></methodparam>
13
13
<methodparam><type>string</type><parameter>qualifiedName</parameter></methodparam>
14
14
<methodparam><type>string</type><parameter>value</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
-
Sets an attribute with namespace <parameter>namespaceURI</parameter> and
18
-
name <parameter>name</parameter> to the given value. If the attribute
17
+
Sets an attribute with namespace <parameter>namespace</parameter> and
18
+
name <parameter>qualifiedName</parameter> to the given value. If the attribute
19
19
does not exist, it will be created.
20
20
</para>
21
21
</refsect1>
...
...
@@ -24,7 +24,7 @@
24
24
<para>
25
25
<variablelist>
26
26
<varlistentry>
27
-
<term><parameter>namespaceURI</parameter></term>
27
+
<term><parameter>namespace</parameter></term>
28
28
<listitem>
29
29
<para>
30
30
The namespace URI.
...
...
@@ -74,7 +74,7 @@
74
74
<para>
75
75
Raised if <parameter>qualifiedName</parameter> is a malformed qualified
76
76
name, or if <parameter>qualifiedName</parameter> has a prefix and
77
-
<parameter>namespaceURI</parameter> is &null;.
77
+
<parameter>namespace</parameter> is &null;.
78
78
</para>
79
79
</listitem>
80
80
</varlistentry>
...
...
@@ -92,7 +92,6 @@
92
92
</para>
93
93
</refsect1>
94
94
</refentry>
95
-

96
95
<!-- Keep this comment at the end of the file
97
96
Local variables:
98
97
mode: sgml
99
98