Imported Upstream version 2.9.1
[platform/upstream/libxml2.git] / doc / xmllint.xml
index 9a41b4e..5f0f000 100644 (file)
@@ -69,6 +69,7 @@
                        <arg choice="plain"><option>--version</option></arg>
                        <arg choice="plain"><option>--debug</option></arg>
                        <arg choice="plain"><option>--shell</option></arg>
+                       <arg choice="plain"><option>--xpath "<replaceable class="option">XPath_expression</replaceable>"</option></arg>
                        <arg choice="plain"><option>--debugent</option></arg>
                        <arg choice="plain"><option>--copy</option></arg>
                        <arg choice="plain"><option>--recover</option></arg>
                </varlistentry>
 
                <varlistentry>
+       <term><option>--xpath "<replaceable class="option">XPath_expression</replaceable>"</option></term>
+       <listitem>
+               <para>
+                       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.
+               </para>
+       </listitem>
+               </varlistentry>
+
+               <varlistentry>
        <term><option>--stream</option></term>
        <listitem>
                <para>