/usr/share/doc/xmlstarlet/xmlstarlet-man.html is in xmlstarlet 1.3.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 | <html><head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>xmlstarlet</title><link rel="stylesheet" href="html.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.62.0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="d0e2"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p>xmlstarlet — command line <span class="acronym">XML/XSLT</span> toolkit</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><tt class="command">xmlstarlet</tt> [<tt class="option"><i class="replaceable"><tt><options></tt></i></tt>] [<tt class="option"><i class="replaceable"><tt><command></tt></i></tt>] [<tt class="option"><i class="replaceable"><tt><cmd-options></tt></i></tt>]</p></div></div><div class="refsect1" lang="en"><a name="introduction"></a><h2>Introduction</h2><p>XMLStarlet is a set of command line utilities (tools) which can be used to transform, query, validate, and edit XML documents and files using simple set of shell commands in similar way it is done for plain text files using UNIX grep, sed, awk, diff, patch, join, etc commands. This set of command line utilities can be used by those who deal with many XML documents on UNIX shell command prompt as well as for automated XML processing with shell scripts.</p></div><div class="refsect1" lang="en"><a name="options"></a><h2>Options</h2><div class="variablelist"><dl><dt><span class="term"><tt class="option">--version</tt></span></dt><dd>Display the version of <span class="application">xmlstarlet</span>.</dd><dt><span class="term"><tt class="option">--help</tt></span></dt><dd>Display help.</dd></dl></div></div><div class="refsect1" lang="en"><a name="shell"></a><h2>Commands</h2><p>Type: xml <command> --help <ENTER> for command help</p><p>Available commands include:</p><div class="variablelist"><dl><dt><span class="term"><tt class="option">ed (or edit)</tt></span></dt><dd>Edit/update XML document(s).</dd><dt><span class="term"><tt class="option">sel (or select)</tt></span></dt><dd>Select data or query XML document(s) (XPATH, etc).</dd><dt><span class="term"><tt class="option">tr (or transform)</tt></span></dt><dd>Transform XML documents(s) using XSLT.</dd><dt><span class="term"><tt class="option">val (or validate)</tt></span></dt><dd>Validate XML document(s) (well-formed/DTD/XSD/RelaxNG).</dd><dt><span class="term"><tt class="option">fo (or format)</tt></span></dt><dd>Format XML document(s).</dd><dt><span class="term"><tt class="option">el (or elements)</tt></span></dt><dd>Display element structure of XML document.</dd><dt><span class="term"><tt class="option">c14n (or canonic)</tt></span></dt><dd>XML canonicalization.</dd><dt><span class="term"><tt class="option">ls (or list)</tt></span></dt><dd>List directory as XML.</dd><dt><span class="term"><tt class="option">esc (or escape)</tt></span></dt><dd>Escape special XML characters.</dd><dt><span class="term"><tt class="option">unesc (or unescape)</tt></span></dt><dd>Unescape special XML characters.</dd><dt><span class="term"><tt class="option">pyx (or xmln)</tt></span></dt><dd>Convert XML into PYX format (based on ESIS - ISO 8879).</dd><dt><span class="term"><tt class="option">p2x (or depyx)</tt></span></dt><dd>Convert PYX into XML.</dd></dl></div></div><div class="refsect1" lang="en"><a name="d0e166"></a><h2>References</h2><p>XMLStarlet is a command line toolkit to query/edit/check/transform XML documents (for more information see http://xmlstar.sourceforge.net/).</p></div></div></body></html>
|