reference/simplexml/simplexmlelement/registerXPathNamespace.xml
770c6facae667218f69c8ea2715ea20f6fab32f3
...
...
@@ -9,10 +9,10 @@
9
9
</refnamediv>
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
-
<methodsynopsis>
12
+
<methodsynopsis role="SimpleXMLElement">
13
13
<modifier>public</modifier> <type>bool</type><methodname>SimpleXMLElement::registerXPathNamespace</methodname>
14
14
<methodparam><type>string</type><parameter>prefix</parameter></methodparam>
15
-
<methodparam><type>string</type><parameter>ns</parameter></methodparam>
15
+
<methodparam><type>string</type><parameter>namespace</parameter></methodparam>
16
16
</methodsynopsis>
17
17
<para>
18
18
Creates a prefix/ns context for the next XPath query. In particular, this is
...
...
@@ -33,12 +33,12 @@
33
33
<listitem>
34
34
<para>
35
35
The namespace prefix to use in the XPath query for the namespace given in
36
-
<parameter>ns</parameter>.
36
+
<parameter>namespace</parameter>.
37
37
</para>
38
38
</listitem>
39
39
</varlistentry>
40
40
<varlistentry>
41
-
<term><parameter>ns</parameter></term>
41
+
<term><parameter>namespace</parameter></term>
42
42
<listitem>
43
43
<para>
44
44
The namespace to use for the XPath query. This must match a namespace in
...
...
@@ -130,7 +130,6 @@ Chapter 2
130
130
</para>
131
131
</refsect1>
132
132
</refentry>
133
-

134
133
<!-- Keep this comment at the end of the file
135
134
Local variables:
136
135
mode: sgml
137
136