reference/xml/functions/xml-get-current-line-number.xml
a34ba2aef00df9b631d9aeea16333e8195ef0a6b
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.xml-get-current-line-number">
3
+
<refentry xml:id="function.xml-get-current-line-number" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>xml_get_current_line_number</refname>
6
6
<refpurpose>Get current line number for an XML parser</refpurpose>
...
...
@@ -10,7 +10,7 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>int</type><methodname>xml_get_current_line_number</methodname>
13
-
<methodparam><type>resource</type><parameter>parser</parameter></methodparam>
13
+
<methodparam><type>XMLParser</type><parameter>parser</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Gets the current line number for the given XML parser.
...
...
@@ -36,12 +36,28 @@
36
36
<refsect1 role="returnvalues">
37
37
&reftitle.returnvalues;
38
38
<para>
39
-
This function returns &false; if <parameter>parser</parameter> does
40
-
not refer to a valid parser, or else it returns which line the
39
+
Returns which line the
41
40
parser is currently at in its data buffer.
42
41
</para>
43
42
</refsect1>
44
43

44
+
<refsect1 role="changelog">
45
+
&reftitle.changelog;
46
+
<informaltable>
47
+
<tgroup cols="2">
48
+
<thead>
49
+
<row>
50
+
<entry>&Version;</entry>
51
+
<entry>&Description;</entry>
52
+
</row>
53
+
</thead>
54
+
<tbody>
55
+
&xml.changelog.parser-param;
56
+
</tbody>
57
+
</tgroup>
58
+
</informaltable>
59
+
</refsect1>
60
+

45
61
<refsect1 role="seealso">
46
62
&reftitle.seealso;
47
63
<para>
...
...
@@ -53,7 +69,6 @@
53
69
</refsect1>
54
70

55
71
</refentry>
56
-

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