reference/dom/domnode/getlineno.xml
eaf26c34fd4d7da430403fe221ed11e4083fae5a
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="domnode.getlineno" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>DOMNode::getLineNo</refname>
...
...
@@ -9,12 +8,12 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
11
+
<methodsynopsis role="DOMNode">
13
12
<modifier>public</modifier> <type>int</type><methodname>DOMNode::getLineNo</methodname>
14
-
<void />
13
+
<void/>
15
14
</methodsynopsis>
16
15
<para>
17
-
Gets line number for where the node is defined.
16
+
Gets line number for where the node was defined at parse time.
18
17
</para>
19
18
</refsect1>
20
19

...
...
@@ -26,7 +25,8 @@
26
25
<refsect1 role="returnvalues">
27
26
&reftitle.returnvalues;
28
27
<para>
29
-
Always returns the line number where the node was defined in.
28
+
Returns the line number where the node was defined at parse time.
29
+
If the node was created manually, the return value will be <literal>0</literal>.
30
30
</para>
31
31
</refsect1>
32
32

...
...
@@ -68,7 +68,6 @@ The <node> tag is defined in line 3
68
68
</refsect1>
69
69

70
70
</refentry>
71
-

72
71
<!-- Keep this comment at the end of the file
73
72
Local variables:
74
73
mode: sgml
75
74