Skip to content
This repository was archived by the owner on Jan 26, 2026. It is now read-only.

Commit 4462d4a

Browse files
committed
doc: Update xmllint documentation
1 parent ece73bd commit 4462d4a

2 files changed

Lines changed: 12 additions & 5 deletions

File tree

doc/xmllint.1

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
.\" Title: xmllint
33
.\" Author: John Fleck <jfleck@inkstain.net>
44
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
5-
.\" Date: 11/04/2023
5+
.\" Date: 03/15/2024
66
.\" Manual: xmllint Manual
77
.\" Source: libxml2
88
.\" Language: English
99
.\"
10-
.TH "XMLLINT" "1" "11/04/2023" "libxml2" "xmllint Manual"
10+
.TH "XMLLINT" "1" "03/15/2024" "libxml2" "xmllint Manual"
1111
.\" -----------------------------------------------------------------
1212
.\" * Define some portability stuff
1313
.\" -----------------------------------------------------------------
@@ -357,7 +357,7 @@ the section called \(lqSHELL COMMANDS\(rq)\&.
357357
.PP
358358
\fB\-\-xpath "\fR\fB\fIXPath_expression\fR\fR\fB"\fR
359359
.RS 4
360-
Run an XPath expression given as argument and print the result\&. In case of a nodeset result, each node in the node set is serialized in full in the output\&. In case of an empty node set the "XPath set is empty" result will be shown and an error exit code will be returned\&.
360+
Run an XPath expression given as argument and print the result\&. In case of a nodeset result, each node in the node set is serialized in full in the output\&. In case of an empty node set the "XPath set is empty" result will be shown and exit code 11 will be returned\&.\&. This feature is EXPERIMENTAL\&. Implementation details can change without futher notice\&.
361361
.RE
362362
.PP
363363
\fB\-\-stream\fR
@@ -615,6 +615,11 @@ Out of memory error
615615
.RS 4
616616
XPath evaluation error
617617
.RE
618+
.PP
619+
\fB11\fR
620+
.RS 4
621+
XPath result is empty
622+
.RE
618623
.SH "SEE ALSO"
619624
.PP
620625
\fBlibxml\fR(3)

doc/xmllint.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@
9797
result. In case of a nodeset result, each node in the
9898
node set is serialized in full in the output. In case
9999
of an empty node set the "XPath set is empty" result
100-
will be shown and an error exit code will be returned.
100+
will be shown and exit code 11 will be returned..
101+
This feature is EXPERIMENTAL. Implementation details can
102+
change without futher notice.
101103
</p></dd><dt><span class="term"><code class="option">--stream</code></span></dt><dd><p>
102104
Use streaming <acronym class="acronym">API</acronym> - useful when used in combination
103105
with <code class="option">--relaxng</code> or <code class="option">--valid</code> options
@@ -162,7 +164,7 @@
162164
</p></dd><dt><span class="term"><span class="errorcode">8</span></span></dt><dd><p>
163165
Error in Reader registration (generated
164166
when <code class="option">--chkregister</code> option is used)
165-
</p></dd><dt><span class="term"><span class="errorcode">9</span></span></dt><dd><p>Out of memory error</p></dd><dt><span class="term"><span class="errorcode">10</span></span></dt><dd><p>XPath evaluation error</p></dd></dl></div></div><div class="refsect1"><a name="seealso"></a><h2>SEE ALSO</h2><p><span class="citerefentry"><span class="refentrytitle">libxml</span>(3)</span>
167+
</p></dd><dt><span class="term"><span class="errorcode">9</span></span></dt><dd><p>Out of memory error</p></dd><dt><span class="term"><span class="errorcode">10</span></span></dt><dd><p>XPath evaluation error</p></dd><dt><span class="term"><span class="errorcode">11</span></span></dt><dd><p>XPath result is empty</p></dd></dl></div></div><div class="refsect1"><a name="seealso"></a><h2>SEE ALSO</h2><p><span class="citerefentry"><span class="refentrytitle">libxml</span>(3)</span>
166168
</p><p>
167169
More information can be found at
168170
</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><span class="citerefentry"><span class="refentrytitle">libxml</span>(3)</span> web page <a class="ulink" href="https://gitlab.gnome.org/GNOME/libxml2" target="_top">https://gitlab.gnome.org/GNOME/libxml2</a>

0 commit comments

Comments
 (0)