reference/dom/domxpath/construct.xml
21e1338e9721534c00085ff3cff25e2dd2e84dc9
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xml:id='domxpath.construct' xmlns="http://docbook.org/ns/docbook">
3
+
<refentry xml:id="domxpath.construct" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>DOMXPath::__construct</refname>
6
6
<refpurpose>
...
...
@@ -9,10 +9,11 @@
9
9
</refnamediv>
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
-
<methodsynopsis>
12
+
<constructorsynopsis role="DOMXPath">
13
13
<modifier>public</modifier> <methodname>DOMXPath::__construct</methodname>
14
-
<methodparam><type>DOMDocument</type><parameter>doc</parameter></methodparam>
15
-
</methodsynopsis>
14
+
<methodparam><type>DOMDocument</type><parameter>document</parameter></methodparam>
15
+
<methodparam choice="opt"><type>bool</type><parameter>registerNodeNS</parameter><initializer>&true;</initializer></methodparam>
16
+
</constructorsynopsis>
16
17
<para>
17
18
Creates a new <classname>DOMXPath</classname> object.
18
19
</para>
...
...
@@ -22,7 +23,7 @@
22
23
<para>
23
24
<variablelist>
24
25
<varlistentry>
25
-
<term><parameter>doc</parameter></term>
26
+
<term><parameter>document</parameter></term>
26
27
<listitem>
27
28
<para>
28
29
The <classname>DOMDocument</classname> associated with the
...
...
@@ -30,11 +31,11 @@
30
31
</para>
31
32
</listitem>
32
33
</varlistentry>
34
+
&dom.parameters.register_node_ns;
33
35
</variablelist>
34
36
</para>
35
37
</refsect1>
36
38
</refentry>
37
-

38
39
<!-- Keep this comment at the end of the file
39
40
Local variables:
40
41
mode: sgml
41
42