Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37425928
en ru br
ALT Linux repositórios
S:1.6.1-alt1
5.0: 1.0.1-alt2
4.1: 1.0.1-alt2
4.0: 1.0.1-alt2

Group :: Ferramentas de texto
RPM: xmlstarlet

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: xmlstarlet-1.0.1-html.patch
Download


--- xmlstarlet-1.0.1.orig/doc/xmlstarlet-ug.html	2004-11-04 06:03:59 +0300
+++ xmlstarlet-1.0.1/doc/xmlstarlet-ug.html	2007-12-10 14:40:56 +0300
@@ -1,9 +1,39 @@
 <html><head>
       <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-   <title>XmlStarlet Command Line XML Toolkit User's Guide</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="book" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="d0e1"></a>XmlStarlet Command Line XML Toolkit User's Guide</h1></div><div><div class="author"><h3 class="author"><span class="firstname">Mikhail</span> <span class="surname">Grushinskiy</span></h3></div></div></div><div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="#d0e12">1. Introduction</a></span></dt><dd><dl><dt><span class="sect1"><a href="#d0e15">1. About XmlStarlet</a></span></dt><dt><span class="sect1"><a href="#d0e46">2. Main Features</a></span></dt><dt><span class="sect1"><a href="#d0e95">3. Supported Platforms</a></span></dt><dt><span class="sect1"><a href="#d0e130">4. Finding binary packages</a></span></dt></dl></dd><dt><span class="chapter"><a href="#d0e170">2. Installation</a></span></dt><dd><dl><dt><span class="sect1"><a href="#d0e173">1. Installation on Linux</a></span></dt><dt><span class="sect1"><a href="#d0e187">2. Installation on Solaris</a></span></dt><dt><span class="sect1"><a href="#d0e194">3. Installation on MacOS X</a></span></dt><dt><span class="sect1"><a href="#d0e201">4. Installation on Windows</a></span></dt></dl></dd><dt><span class="chapter"><a href="#d0e209">3. Getting Started</a></span></dt><dd><dl><dt><span class="sect1"><a href="#d0e212">1. Basic Command-Line Options</a></span></dt><dt><span class="sect1"><a href="#d0e219">2. Studying Structure of XML Document</a></span></dt></dl></dd><dt><span class="chapter"><a href="#d0e266">4. XmlStarlet Reference</a></span></dt><dd><dl><dt><span class="sect1"><a href="#d0e270">1. Querying XML documents</a></span></dt><dt><span class="sect1"><a href="#d0e442">2. Transforming XML documents</a></span></dt><dt><span class="sect1"><a href="#d0e461">3. Editing XML documents</a></span></dt><dt><span class="sect1"><a href="#d0e520">4. Validating XML documents</a></span></dt><dt><span class="sect1"><a href="#d0e543">5. Formatting XML documents</a></span></dt><dt><span class="sect1"><a href="#d0e570">6. Canonicalization of XML documents</a></span></dt><dt><span class="sect1"><a href="#d0e601">7. XML and PYX format</a></span></dt><dt><span class="sect1"><a href="#d0e636">8. Escape/Unescape special XML characters</a></span></dt><dt><span class="sect1"><a href="#d0e655">9. List directory as XML</a></span></dt></dl></dd><dt><span class="chapter"><a href="#d0e670">5. Common problems</a></span></dt><dd><dl><dt><span class="sect1"><a href="#d0e673">1. Namespaces and default namespace</a></span></dt><dt><span class="sect1"><a href="#d0e709">2. Special characters</a></span></dt><dt><span class="sect1"><a href="#d0e731">3. Sorting</a></span></dt><dt><span class="sect1"><a href="#d0e744">4. Validation</a></span></dt></dl></dd></dl></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="d0e12"></a>Chapter&nbsp;1.&nbsp;Introduction</h2></div></div><div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e15"></a>1.&nbsp;About XmlStarlet</h2></div></div><div></div></div><p><a href="http://xmlstar.sourceforge.net/" target="_top">XMLStarlet</a> 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.</p><p>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><p>XMLStarlet command line utility is written in C and uses libxml2 and libxslt from <a href="http://xmlsoft.org/" target="_top">http://xmlsoft.org/</a>. Implementation of extensive choice of options for XMLStarlet utility was only possible because of rich feature set of libxml2 and libxslt (many thanks to the developers of those libraries for great work).</p><p>'diff' and 'patch' options are not currently implemented. Other features need some work too. Please, send an email to the project administrator (see <a href="http://sourceforge.net/projects/xmlstar/" target="_top">http://sourceforge.net/projects/xmlstar/</a>) if you wish to help.</p><p>XMLStarlet is linked statically to both libxml2 and libxslt, so generally all you need to process XML documents is one executable file. To run XmlStarlet utility you can simple type 'xml' on command line and see list of options available.</p><p>XMLStarlet is open source freeware under MIT license which allows free use and distribution for both commercial and non-commercial projects.</p><p>We welcome any user's feedback on this project which would greatly help us to improve its quality. Comments, suggestions, feature requests, bug reports can be done via SourceForge project web site (see <a href="http://sourceforge.net/forum/?group_id=66612" target="_top">XMLStarlet Sourceforge forums</a>, or <a href="http://lists.sourceforge.net/lists/listinfo/xmlstar-devel/" target="_top">XMLStarlet mailing list</a>)</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e46"></a>2.&nbsp;Main Features</h2></div></div><div></div></div><p>The toolkit's feature set includes options to:</p><div class="itemizedlist"><ul type="disc"><li><p>Check or validate XML files (simple well-formedness check, DTD, XSD, RelaxNG)</p></li><li><p>Calculate values of XPath expressions on XML files (such as running sums, etc)</p></li><li><p>Search XML files for matches to given XPath expressions</p></li><li><p>Apply XSLT stylesheets to XML documents (including EXSLT support, and passing parameters to stylesheets)</p></li><li><p>Query XML documents (ex. query for value of some elements of attributes, sorting, etc)</p></li><li><p>Modify or edit XML documents (ex. delete some elements)</p></li><li><p>Format or "beautify" XML documents (as changing indentation, etc)</p></li><li><p>Fetch XML documents using http:// or ftp:// URLs</p></li><li><p>Browse tree structure of XML documents (in similar way to 'ls' command for directories)</p></li><li><p>Include one XML document into another using XInclude</p></li><li><p>XML c14n canonicalization</p></li><li><p>Escape/unescape special XML characters in input text</p></li><li><p>Print directory as XML document</p></li><li><p>Convert XML into PYX format (based on ESIS - ISO 8879), and vice versa</p></li></ul></div><p></p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e95"></a>3.&nbsp;Supported Platforms</h2></div></div><div></div></div><p>Here is a list of platforms on which XmlStarlet is known to work.</p><div class="itemizedlist"><ul type="disc"><li><p>Linux</p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p>Solaris</p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p>Windows</p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p>MacOS X</p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p>FreeBSD/NetBSD</p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p>HP-UX</p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p>AIX</p></li></ul></div><p>You might be able to compile and make it on others too.</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e130"></a>4.&nbsp;Finding binary packages</h2></div></div><div></div></div><p>Here is a list of sites where you can also find XmlStarlet binary packages.</p><div class="itemizedlist"><ul type="disc"><li><p><a href="http://www.suse.com/us/private/products/suse_linux/prof/packages_professional/xmlstarlet.html" target="_top">SuSE Packages</a></p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p><a href="http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=%2FUtilities%2Fxmlstarlet/" target="_top">SuSE Guru's RPM Site</a></p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p><a href="http://www.freebsd.org/cgi/ports.cgi?query=xmlstarlet&amp;stype=all" target="_top">FreeBSD Ports</a></p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p><a href="http://www.freshports.org/textproc/xmlstarlet/" target="_top">FreeBSD Fresh Ports</a></p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p><a href="http://fink.sourceforge.net/pdb/package.php/xmlstarlet" target="_top">Mac OS Fink</a></p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p><a href="http://rpms.mandrakeclub.com/linux/rpm2html/search.php?query=xmlstarlet" target="_top">Mandrake RPMs</a></p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p><a href="http://gentoo-portage.com/app-text/xmlstarlet" target="_top">Gentoo Portage</a></p></li></ul></div></div></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="d0e170"></a>Chapter&nbsp;2.&nbsp;Installation</h2></div></div><div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e173"></a>1.&nbsp;Installation on Linux</h2></div></div><div></div></div><p>Execute the following command as root</p><pre class="programlisting">rpm -i xmlstarlet-x.x.x-1.i386.rpm</pre><p>where x.x.x indicates package version.</p><p>You can use <a href="http://fr2.rpmfind.net/linux/rpm2html/search.php?query=xmlstarlet&amp;system=&amp;arch=" target="_top">http://rpmfind.net</a> to search for RPM appropriate for your distribution.</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e187"></a>2.&nbsp;Installation on Solaris</h2></div></div><div></div></div><p>Execute the following commands as root</p><pre class="programlisting">gunzip xmlstarlet-x.x.x-sol8-sparc-local.gz
-pkgadd -d xmlstarlet-x.x.x-sol8-sparc-local all</pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e194"></a>3.&nbsp;Installation on MacOS X</h2></div></div><div></div></div><p>XmlStarlet is available on MacOS in Fink. <a href="http://fink.sourceforge.net/pdb/package.php/xmlstarlet" target="_top">See fink.sourceforge.net</a></p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e201"></a>4.&nbsp;Installation on Windows</h2></div></div><div></div></div><p>Unzip the file xmlstarlet-x.x.x-win32.zip to some directory. To take advantage of UNIX shell scripting you might want to run XmlStarlet from Cygwin. Consider installing <a href="http://www.cygwin.com/" target="_top">Cygwin</a> on your Windows machine.</p></div></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="d0e209"></a>Chapter&nbsp;3.&nbsp;Getting Started</h2></div></div><div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e212"></a>1.&nbsp;Basic Command-Line Options</h2></div></div><div></div></div><p>Basic command line syntax: </p><pre class="programlisting">bash-2.03$ xml
+   <title>XmlStarlet Command Line XML Toolkit User's Guide</title>
+   <style type='text/css'><!--
+   body { 
+    background: #FFFFFF; 
+}
+
+h1, h2, h3, h4, h5 { 
+    color: #800000; 
+    font-family: sans-serif; 
+}
+
+span.term { 
+    font-weight: bold; 
+}
+
+div.sidebar { 
+    background: #F0F0F0; 
+    border: 1px solid gray; 
+    padding: 5px; 
+    margin: 20px; 
+}
+
+pre.programlisting { 
+    background: #F0F0F0; 
+    border: 1px solid gray; 
+    padding: 2px; 
+    font-size: 10pt;
+    white-space: pre;
+}
+--></style>
+<meta name="generator" content="DocBook XSL Stylesheets V1.62.0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="book" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="d0e1"></a>XmlStarlet Command Line XML Toolkit User's Guide</h1></div><div><div class="author"><h3 class="author"><span class="firstname">Mikhail</span> <span class="surname">Grushinskiy</span></h3></div></div></div><div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="#d0e12">1. Introduction</a></span></dt><dd><dl><dt><span class="sect1"><a href="#d0e15">1. About XmlStarlet</a></span></dt><dt><span class="sect1"><a href="#d0e46">2. Main Features</a></span></dt><dt><span class="sect1"><a href="#d0e95">3. Supported Platforms</a></span></dt><dt><span class="sect1"><a href="#d0e130">4. Finding binary packages</a></span></dt></dl></dd><dt><span class="chapter"><a href="#d0e170">2. Installation</a></span></dt><dd><dl><dt><span class="sect1"><a href="#d0e173">1. Installation on Linux</a></span></dt><dt><span class="sect1"><a href="#d0e187">2. Installation on Solaris</a></span></dt><dt><span class="sect1"><a href="#d0e194">3. Installation on MacOS X</a></span></dt><dt><span class="sect1"><a href="#d0e201">4. Installation on Windows</a></span></dt></dl></dd><dt><span class="chapter"><a href="#d0e209">3. Getting Started</a></span></dt><dd><dl><dt><span class="sect1"><a href="#d0e212">1. Basic Command-Line Options</a></span></dt><dt><span class="sect1"><a href="#d0e219">2. Studying Structure of XML Document</a></span></dt></dl></dd><dt><span class="chapter"><a href="#d0e266">4. XmlStarlet Reference</a></span></dt><dd><dl><dt><span class="sect1"><a href="#d0e270">1. Querying XML documents</a></span></dt><dt><span class="sect1"><a href="#d0e442">2. Transforming XML documents</a></span></dt><dt><span class="sect1"><a href="#d0e461">3. Editing XML documents</a></span></dt><dt><span class="sect1"><a href="#d0e520">4. Validating XML documents</a></span></dt><dt><span class="sect1"><a href="#d0e543">5. Formatting XML documents</a></span></dt><dt><span class="sect1"><a href="#d0e570">6. Canonicalization of XML documents</a></span></dt><dt><span class="sect1"><a href="#d0e601">7. XML and PYX format</a></span></dt><dt><span class="sect1"><a href="#d0e636">8. Escape/Unescape special XML characters</a></span></dt><dt><span class="sect1"><a href="#d0e655">9. List directory as XML</a></span></dt></dl></dd><dt><span class="chapter"><a href="#d0e670">5. Common problems</a></span></dt><dd><dl><dt><span class="sect1"><a href="#d0e673">1. Namespaces and default namespace</a></span></dt><dt><span class="sect1"><a href="#d0e709">2. Special characters</a></span></dt><dt><span class="sect1"><a href="#d0e731">3. Sorting</a></span></dt><dt><span class="sect1"><a href="#d0e744">4. Validation</a></span></dt></dl></dd></dl></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="d0e12"></a>Chapter&nbsp;1.&nbsp;Introduction</h2></div></div><div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e15"></a>1.&nbsp;About XmlStarlet</h2></div></div><div></div></div><p><a href="http://xmlstar.sourceforge.net/" target="_top">XMLStarlet</a> 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.</p><p>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><p>XMLStarlet command line utility is written in C and uses libxml2 and libxslt from <a href="http://xmlsoft.org/" target="_top">http://xmlsoft.org/</a>. Implementation of extensive choice of options for XMLStarlet utility was only possible because of rich feature set of libxml2 and libxslt (many thanks to the developers of those libraries for great work).</p><p>'diff' and 'patch' options are not currently implemented. Other features need some work too. Please, send an email to the project administrator (see <a href="http://sourceforge.net/projects/xmlstar/" target="_top">http://sourceforge.net/projects/xmlstar/</a>) if you wish to help.</p><p>XMLStarlet is linked statically to both libxml2 and libxslt, so generally all you need to process XML documents is one executable file. To run XmlStarlet utility you can simple type 'xmlstarlet' on command line and see list of options available.</p><p>XMLStarlet is open source freeware under MIT license which allows free use and distribution for both commercial and non-commercial projects.</p><p>We welcome any user's feedback on this project which would greatly help us to improve its quality. Comments, suggestions, feature requests, bug reports can be done via SourceForge project web site (see <a href="http://sourceforge.net/forum/?group_id=66612" target="_top">XMLStarlet Sourceforge forums</a>, or <a href="http://lists.sourceforge.net/lists/listinfo/xmlstar-devel/" target="_top">XMLStarlet mailing list</a>)</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e46"></a>2.&nbsp;Main Features</h2></div></div><div></div></div><p>The toolkit's feature set includes options to:</p><div class="itemizedlist"><ul type="disc"><li><p>Check or validate XML files (simple well-formedness check, DTD, XSD, RelaxNG)</p></li><li><p>Calculate values of XPath expressions on XML files (such as running sums, etc)</p></li><li><p>Search XML files for matches to given XPath expressions</p></li><li><p>Apply XSLT stylesheets to XML documents (including EXSLT support, and passing parameters to stylesheets)</p></li><li><p>Query XML documents (ex. query for value of some elements of attributes, sorting, etc)</p></li><li><p>Modify or edit XML documents (ex. delete some elements)</p></li><li><p>Format or "beautify" XML documents (as changing indentation, etc)</p></li><li><p>Fetch XML documents using http:// or ftp:// URLs</p></li><li><p>Browse tree structure of XML documents (in similar way to 'ls' command for directories)</p></li><li><p>Include one XML document into another using XInclude</p></li><li><p>XML c14n canonicalization</p></li><li><p>Escape/unescape special XML characters in input text</p></li><li><p>Print directory as XML document</p></li><li><p>Convert XML into PYX format (based on ESIS - ISO 8879), and vice versa</p></li></ul></div><p></p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e95"></a>3.&nbsp;Supported Platforms</h2></div></div><div></div></div><p>Here is a list of platforms on which XmlStarlet is known to work.</p><div class="itemizedlist"><ul type="disc"><li><p>Linux</p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p>Solaris</p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p>Windows</p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p>MacOS X</p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p>FreeBSD/NetBSD</p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p>HP-UX</p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p>AIX</p></li></ul></div><p>You might be able to compile and make it on others too.</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e130"></a>4.&nbsp;Finding binary packages</h2></div></div><div></div></div><p>Here is a list of sites where you can also find XmlStarlet binary packages.</p><div class="itemizedlist"><ul type="disc"><li><p><a href="http://www.suse.com/us/private/products/suse_linux/prof/packages_professional/xmlstarlet.html" target="_top">SuSE Packages</a></p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p><a href="http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=%2FUtilities%2Fxmlstarlet/" target="_top">SuSE Guru's RPM Site</a></p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p><a href="http://www.freebsd.org/cgi/ports.cgi?query=xmlstarlet&amp;stype=all" target="_top">FreeBSD Ports</a></p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p><a href="http://www.freshports.org/textproc/xmlstarlet/" target="_top">FreeBSD Fresh Ports</a></p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p><a href="http://fink.sourceforge.net/pdb/package.php/xmlstarlet" target="_top">Mac OS Fink</a></p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p><a href="http://rpms.mandrakeclub.com/linux/rpm2html/search.php?query=xmlstarlet" target="_top">Mandrake RPMs</a></p></li></ul></div><div class="itemizedlist"><ul type="disc"><li><p><a href="http://gentoo-portage.com/app-text/xmlstarlet" target="_top">Gentoo Portage</a></p></li></ul></div></div></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="d0e170"></a>Chapter&nbsp;2.&nbsp;Installation</h2></div></div><div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e173"></a>1.&nbsp;Installation on Linux</h2></div></div><div></div></div><p>Execute the following command as root</p><pre class="programlisting">rpm -i xmlstarlet-x.x.x-1.i386.rpm</pre><p>where x.x.x indicates package version.</p><p>You can use <a href="http://fr2.rpmfind.net/linux/rpm2html/search.php?query=xmlstarlet&amp;system=&amp;arch=" target="_top">http://rpmfind.net</a> to search for RPM appropriate for your distribution.</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e187"></a>2.&nbsp;Installation on Solaris</h2></div></div><div></div></div><p>Execute the following commands as root</p><pre class="programlisting">gunzip xmlstarlet-x.x.x-sol8-sparc-local.gz
+pkgadd -d xmlstarlet-x.x.x-sol8-sparc-local all</pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e194"></a>3.&nbsp;Installation on MacOS X</h2></div></div><div></div></div><p>XmlStarlet is available on MacOS in Fink. <a href="http://fink.sourceforge.net/pdb/package.php/xmlstarlet" target="_top">See fink.sourceforge.net</a></p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e201"></a>4.&nbsp;Installation on Windows</h2></div></div><div></div></div><p>Unzip the file xmlstarlet-x.x.x-win32.zip to some directory. To take advantage of UNIX shell scripting you might want to run XmlStarlet from Cygwin. Consider installing <a href="http://www.cygwin.com/" target="_top">Cygwin</a> on your Windows machine.</p></div></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="d0e209"></a>Chapter&nbsp;3.&nbsp;Getting Started</h2></div></div><div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e212"></a>1.&nbsp;Basic Command-Line Options</h2></div></div><div></div></div><p>Basic command line syntax: </p><pre class="programlisting">bash-2.03$ xmlstarlet
 XMLStarlet Toolkit: Command line utilities for XML
-Usage: xml [&lt;options&gt;] &lt;command&gt; [&lt;cmd-options&gt;]
+Usage: xmlstarlet [&lt;options&gt;] &lt;command&gt; [&lt;cmd-options&gt;]
 where &lt;command&gt; is one of:
    ed    (or edit)      - Edit/Update XML document(s)
    sel   (or select)    - Select data or query XML document(s) (XPATH, etc)
@@ -23,7 +53,7 @@ where &lt;command&gt; is one of:
 Wherever file name mentioned in command help it is assumed
 that URL can be used instead as well.
 
-Type: xml &lt;command&gt; --help &lt;ENTER&gt; for command help
+Type: xmlstarlet &lt;command&gt; --help &lt;ENTER&gt; for command help
 
 XMLStarlet is a command line toolkit to query/edit/check/transform
 XML documents (for more information see http://xmlstar.sourceforge.net/)</pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e219"></a>2.&nbsp;Studying Structure of XML Document</h2></div></div><div></div></div><p>Before you do anything with your XML document you probably would like to know its structure at first. 'el' option could be used for this purpose.</p><p>Let's say you have the following XML document (table.xml)</p><pre class="programlisting">&lt;xml&gt;
@@ -41,7 +71,7 @@ XML documents (for more information see 
       &lt;stringField&gt;stringValue&lt;/stringField&gt;
     &lt;/rec&gt;
   &lt;/table&gt;
-&lt;/xml&gt;</pre><pre class="programlisting">xml el table.xml</pre><p>would produce the following output.</p><pre class="programlisting">xml
+&lt;/xml&gt;</pre><pre class="programlisting">xmlstarlet el table.xml</pre><p>would produce the following output.</p><pre class="programlisting">xml
 xml/table
 xml/table/rec
 xml/table/rec/numField
@@ -51,11 +81,11 @@ xml/table/rec/numField
 xml/table/rec/stringField
 xml/table/rec
 xml/table/rec/numField
-xml/table/rec/stringField</pre><p>Every line in this output is an XPath expression which indicates a 'path' to elements in XML document. You would use these XPath expressions to navigate through your XML documents in other XmlStarlet options.</p><p>XML documents can be pretty large but with a very simple structure. (This is espesially true for data driven XML documents ex: XML formatted result of select from SQL table). If you just interested in structure but not order of the elements you can use -u switch combined with 'el' option.</p><p>EXAMPLE:</p><pre class="programlisting">xml el -u table.xml</pre><p>Output:</p><pre class="programlisting">xml
+xml/table/rec/stringField</pre><p>Every line in this output is an XPath expression which indicates a 'path' to elements in XML document. You would use these XPath expressions to navigate through your XML documents in other XmlStarlet options.</p><p>XML documents can be pretty large but with a very simple structure. (This is espesially true for data driven XML documents ex: XML formatted result of select from SQL table). If you just interested in structure but not order of the elements you can use -u switch combined with 'el' option.</p><p>EXAMPLE:</p><pre class="programlisting">xmlstarlet el -u table.xml</pre><p>Output:</p><pre class="programlisting">xml
 xml/table
 xml/table/rec
 xml/table/rec/numField
-xml/table/rec/stringField</pre><p>If you are interested not just in elements of your XML document, but you want to see attributes as well you can use -a switch with 'el' option. And every line of the output will still be a valid XPath expression.</p><p>EXAMPLE:</p><pre class="programlisting">xml el -a table.xml</pre><p>Output:</p><pre class="programlisting">xml
+xml/table/rec/stringField</pre><p>If you are interested not just in elements of your XML document, but you want to see attributes as well you can use -a switch with 'el' option. And every line of the output will still be a valid XPath expression.</p><p>EXAMPLE:</p><pre class="programlisting">xmlstarlet el -a table.xml</pre><p>Output:</p><pre class="programlisting">xml
 xml/table
 xml/table/rec
 xml/table/rec/@id
@@ -68,7 +98,7 @@ xml/table/rec/stringField
 xml/table/rec
 xml/table/rec/@id
 xml/table/rec/numField
-xml/table/rec/stringField</pre><p>If you are looking for attribute values as well use -v switch of 'el' option. And again - every line of output is a valid XPath expression.</p><p>EXAMPLE:</p><pre class="programlisting">xml el -v table.xml</pre><p>Output:</p><pre class="programlisting">xml
+xml/table/rec/stringField</pre><p>If you are looking for attribute values as well use -v switch of 'el' option. And again - every line of output is a valid XPath expression.</p><p>EXAMPLE:</p><pre class="programlisting">xmlstarlet el -v table.xml</pre><p>Output:</p><pre class="programlisting">xml
 xml/table
 xml/table/rec[@id='1']
 xml/table/rec/numField
@@ -78,8 +108,8 @@ xml/table/rec/numField
 xml/table/rec/stringField
 xml/table/rec[@id='3']
 xml/table/rec/numField
-xml/table/rec/stringField</pre></div></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="d0e266"></a>Chapter&nbsp;4.&nbsp;XmlStarlet Reference</h2></div></div><div></div></div><p></p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e270"></a>1.&nbsp;Querying XML documents</h2></div></div><div></div></div><p>XmlStarlet 'select' or 'sel' option can be used to query or search XML documents. Here is synopsis for 'xml sel' command:</p><pre class="programlisting">XMLStarlet Toolkit: Select from XML document(s)
-Usage: xml sel &lt;global-options&gt; {&lt;template&gt;} [ &lt;xml-file&gt; ... ]
+xml/table/rec/stringField</pre></div></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="d0e266"></a>Chapter&nbsp;4.&nbsp;XmlStarlet Reference</h2></div></div><div></div></div><p></p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e270"></a>1.&nbsp;Querying XML documents</h2></div></div><div></div></div><p>XmlStarlet 'select' or 'sel' option can be used to query or search XML documents. Here is synopsis for 'xmlstarlet sel' command:</p><pre class="programlisting">XMLStarlet Toolkit: Select from XML document(s)
+Usage: xmlstarlet sel &lt;global-options&gt; {&lt;template&gt;} [ &lt;xml-file&gt; ... ]
 where
   &lt;global-options&gt; - global options for selecting
   &lt;xml-file&gt; - input XML document file name/uri (stdin is used if missing)
@@ -90,7 +120,7 @@ where
   -R or --root       - print root element &lt;xsl-select&gt;
   -T or --text       - output is text (default is XML)
   -I or --indent     - indent output
-  -D or --xml-decl   - do not omit xml declaration line
+  -D or --xml-decl   - do not omit xmlstarlet declaration line
   -B or --noblanks   - remove insignificant spaces from XML tree
   -N &lt;name&gt;=&lt;value&gt;  - predefine namespaces (name without 'xmlns:')
                        ex: xsql=urn:oracle-xsql
@@ -123,7 +153,7 @@ There can be multiple --match, --copy-of
 in a single template. The effect of applying command line templates
 can be illustrated with the following XSLT analogue
 
-xml sel -t -c "xpath0" -m "xpath1" -m "xpath2" -v "xpath3" \
+xmlstarlet sel -t -c "xpath0" -m "xpath1" -m "xpath2" -v "xpath3" \
         -t -m "xpath4" -c "xpath5"
 
 is equivalent to applying the following XSLT
@@ -154,7 +184,7 @@ XML documents (for more information see 
 
 Current implementation uses libxslt from GNOME codebase as XSLT processor
 (see http://xmlsoft.org/ for more details)
-</pre><p>'select' option allows you basically avoid writting XSLT stylesheet to perform some queries on XML documents. I.e. various combinations of command line parameters will let you to generate XSLT stylesheet and apply in to XML documents with a single command line. Very often you do not really care what XSLT was created for you 'select' command, but in those cases when you do; you can always use -C or --comp switch which will let you see exactly which XSLT is applied to your input.</p><p>'select' option supports many EXSLT functions in XPath expressions.</p><p>Here are few examples which will help to understand how 'xml select' works:</p><p>EXAMPLE:</p><p>Count elements matching XPath expression:</p><p></p><pre class="programlisting">xml sel -t -v "count(/xml/table/rec/numField)" table.xml</pre><p>Input (table.xml):</p><pre class="programlisting">&lt;xml&gt;
+</pre><p>'select' option allows you basically avoid writting XSLT stylesheet to perform some queries on XML documents. I.e. various combinations of command line parameters will let you to generate XSLT stylesheet and apply in to XML documents with a single command line. Very often you do not really care what XSLT was created for you 'select' command, but in those cases when you do; you can always use -C or --comp switch which will let you see exactly which XSLT is applied to your input.</p><p>'select' option supports many EXSLT functions in XPath expressions.</p><p>Here are few examples which will help to understand how 'xmlstarlet select' works:</p><p>EXAMPLE:</p><p>Count elements matching XPath expression:</p><p></p><pre class="programlisting">xmlstarlet sel -t -v "count(/xml/table/rec/numField)" table.xml</pre><p>Input (table.xml):</p><pre class="programlisting">&lt;xml&gt;
   &lt;table&gt;
     &lt;rec id="1"&gt;
       &lt;numField&gt;123&lt;/numField&gt;
@@ -170,7 +200,7 @@ Current implementation uses libxslt from
     &lt;/rec&gt;
   &lt;/table&gt;
 &lt;/xml&gt;</pre><p>Output:</p><pre class="programlisting">3
-</pre><p>Let's take a close look what it did internally. For that we will use '-C' option</p><pre class="programlisting">$ xml sel -C -t -v "count(/xml/table/rec/numField)"
+</pre><p>Let's take a close look what it did internally. For that we will use '-C' option</p><pre class="programlisting">$ xmlstarlet sel -C -t -v "count(/xml/table/rec/numField)"
 &lt;?xml version="1.0"?&gt;
 &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:exslt="http://exslt.org/common"
@@ -204,8 +234,8 @@ Current implementation uses libxslt from
 &lt;xsl:template name="t1"&gt;
   &lt;xsl:value-of select="count(/xml/table/rec/numField)"/&gt;
 &lt;/xsl:template&gt;
-&lt;/xsl:stylesheet&gt;</pre><p>Every -t option is mapped into XSLT template. Options after '-t' are mapped into XSLT elements:</p><div class="itemizedlist"><ul type="disc"><li><p>-v to &lt;xsl:value-of&gt;</p></li><li><p>-c to &lt;xsl:copy-of&gt;</p></li><li><p>-e to &lt;xsl:element&gt;</p></li><li><p>-a to &lt;xsl:attribute&gt;</p></li><li><p>-s to &lt;xsl:sort&gt;</p></li><li><p>-m to &lt;xsl:for-each&gt;</p></li><li><p>-i to &lt;xsl:if&gt;</p></li><li><p>and so on</p></li></ul></div><p>By default subsequent options (for instance: -m) will result in nested corresponding XSLT elements (&lt;xsl:for-each&gt; for '-m'). To break this nesting you would have to put '-b' or '--break' after first '-m'.</p><p>Below are few more examples:</p><p>EXAMPLE</p><p>Count all nodes in XML documents. Print input name and node count after it.</p><pre class="programlisting">xml sel -t -f -o " " -v "count(//node())" xml/table.xml xml/tab-obj.xml</pre><p>Output:</p><pre class="programlisting">xml/table.xml 32
-xml/tab-obj.xml 41</pre><p></p><p>EXAMPLE</p><p>Find XML files matching XPath expression (containing 'object' element)</p><pre class="programlisting">xml sel -t -m //object -f xml/table.xml xml/tab-obj.xml</pre><p>Result output:</p><pre class="programlisting">xml/tab-obj.xml</pre><p></p><p>EXAMPLE</p><p>Calculate EXSLT (XSLT extentions) XPath value</p><pre class="programlisting">echo "&lt;x/&gt;" | xml sel -t -v "math:abs(-1000)"</pre><p>Result output:</p><pre class="programlisting">1000</pre><p></p><p>EXAMPLE</p><p>Adding elements and attributes using command line 'xml sel'</p><pre class="programlisting">echo "&lt;x/&gt;" | xml sel -t -m / -e xml -e child -a data -o value</pre><p>Result Output:</p><pre class="programlisting">&lt;xml&gt;&lt;child data="value"/&gt;&lt;/xml&gt;</pre><p></p><p>EXAMPLE</p><p>Query XML document and produce sorted text table</p><pre class="programlisting">xml sel -T -t -m /xml/table/rec -s D:N:- "@id" -v "concat(@id,'|',numField,'|',stringField)" -n xml/table.xml</pre><p>Result Output:</p><pre class="programlisting">3|-23|stringValue
+&lt;/xsl:stylesheet&gt;</pre><p>Every -t option is mapped into XSLT template. Options after '-t' are mapped into XSLT elements:</p><div class="itemizedlist"><ul type="disc"><li><p>-v to &lt;xsl:value-of&gt;</p></li><li><p>-c to &lt;xsl:copy-of&gt;</p></li><li><p>-e to &lt;xsl:element&gt;</p></li><li><p>-a to &lt;xsl:attribute&gt;</p></li><li><p>-s to &lt;xsl:sort&gt;</p></li><li><p>-m to &lt;xsl:for-each&gt;</p></li><li><p>-i to &lt;xsl:if&gt;</p></li><li><p>and so on</p></li></ul></div><p>By default subsequent options (for instance: -m) will result in nested corresponding XSLT elements (&lt;xsl:for-each&gt; for '-m'). To break this nesting you would have to put '-b' or '--break' after first '-m'.</p><p>Below are few more examples:</p><p>EXAMPLE</p><p>Count all nodes in XML documents. Print input name and node count after it.</p><pre class="programlisting">xmlstarlet sel -t -f -o " " -v "count(//node())" xml/table.xml xml/tab-obj.xml</pre><p>Output:</p><pre class="programlisting">xml/table.xml 32
+xml/tab-obj.xml 41</pre><p></p><p>EXAMPLE</p><p>Find XML files matching XPath expression (containing 'object' element)</p><pre class="programlisting">xmlstarlet sel -t -m //object -f xml/table.xml xml/tab-obj.xml</pre><p>Result output:</p><pre class="programlisting">xml/tab-obj.xml</pre><p></p><p>EXAMPLE</p><p>Calculate EXSLT (XSLT extentions) XPath value</p><pre class="programlisting">echo "&lt;x/&gt;" | xmlstarlet sel -t -v "math:abs(-1000)"</pre><p>Result output:</p><pre class="programlisting">1000</pre><p></p><p>EXAMPLE</p><p>Adding elements and attributes using command line 'xmlstarlet sel'</p><pre class="programlisting">echo "&lt;x/&gt;" | xmlstarlet sel -t -m / -e xml -e child -a data -o value</pre><p>Result Output:</p><pre class="programlisting">&lt;xml&gt;&lt;child data="value"/&gt;&lt;/xml&gt;</pre><p></p><p>EXAMPLE</p><p>Query XML document and produce sorted text table</p><pre class="programlisting">xmlstarlet sel -T -t -m /xml/table/rec -s D:N:- "@id" -v "concat(@id,'|',numField,'|',stringField)" -n xml/table.xml</pre><p>Result Output:</p><pre class="programlisting">3|-23|stringValue
 2|346|Text Value
 1|123|String Value</pre><p>Equivalent stylesheet</p><pre class="programlisting">&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
 &lt;xsl:output omit-xml-declaration="yes" indent="no" method="text"/&gt;
@@ -220,7 +250,7 @@ xml/tab-obj.xml 41</pre><p></p><p>EXAMPL
     &lt;xsl:value-of select="'&amp;#10;'"/&gt;
   &lt;/xsl:for-each&gt;
 &lt;/xsl:template&gt;
-&lt;/xsl:stylesheet&gt;</pre><p></p><p>EXAMPLE</p><p>Predefine namespaces for XPath expressions</p><pre class="programlisting">xml sel -N xsql=urn:oracle-xsql -t -v /xsql:query xsql/jobserve.xsql</pre><p>Input (xsql/jobserve.xsql)</p><pre class="programlisting">$ cat xsql/jobserve.xsql
+&lt;/xsl:stylesheet&gt;</pre><p></p><p>EXAMPLE</p><p>Predefine namespaces for XPath expressions</p><pre class="programlisting">xmlstarlet sel -N xsql=urn:oracle-xsql -t -v /xsql:query xsql/jobserve.xsql</pre><p>Input (xsql/jobserve.xsql)</p><pre class="programlisting">$ cat xsql/jobserve.xsql
 &lt;?xml version="1.0"?&gt;
 &lt;?xml-stylesheet type="text/xsl" href="jobserve.xsl"?&gt;
 &lt;xsql:query connection="jobs" xmlns:xsql="urn:oracle-xsql" max-rows="5"&gt;
@@ -232,7 +262,7 @@ xml/tab-obj.xml 41</pre><p></p><p>EXAMPL
   FROM job
   WHERE UPPER(title) LIKE '%ORACLE%'
   ORDER BY first_posted DESC
-</pre><p></p><p>EXAMPLE</p><p>Print structure of XML element using xml sel (advanced XPath expressions and xml sel command usage)</p><pre class="programlisting">xml sel -T -t -m '//*' \
+</pre><p></p><p>EXAMPLE</p><p>Print structure of XML element using xmlstarlet sel (advanced XPath expressions and xmlstarlet sel command usage)</p><pre class="programlisting">xmlstarlet sel -T -t -m '//*' \
 -m 'ancestor-or-self::*' -v 'name()' -i 'not(position()=last())' -o . -b -b -n \
 xml/structure.xml</pre><p>Input (xml/structure.xml)</p><pre class="programlisting">&lt;a1&gt;
   &lt;a11&gt;
@@ -272,7 +302,7 @@ a1.a13.a131</pre><p>This example is a go
     &lt;xsl:value-of select="'&amp;#10;'"/&gt;
   &lt;/xsl:for-each&gt;
 &lt;/xsl:template&gt;
-&lt;/xsl:stylesheet&gt;</pre><p></p><p></p><p>EXAMPLE</p><p>Print all links of xhtml document</p><pre class="programlisting">xml sel --net --html -T -t -m "//*[local-name()='a']" \
+&lt;/xsl:stylesheet&gt;</pre><p></p><p></p><p>EXAMPLE</p><p>Print all links of xhtml document</p><pre class="programlisting">xmlstarlet sel --net --html -T -t -m "//*[local-name()='a']" \
    -o 'NAME: ' -v "translate(. , '&amp;#10;', ' ')" -n \
    -o 'LINK: ' -v @href -n -n \
    http://xmlstar.sourceforge.net/</pre><p>Sample output</p><pre class="programlisting">NAME: XmlStarlet SourceForge Site
@@ -289,8 +319,8 @@ LINK: http://sourceforge.net/forum/?grou
 
 NAME: XMLStarlet mailing list
 LINK: http://lists.sourceforge.net/lists/listinfo/xmlstar-devel
-</pre><p></p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e442"></a>2.&nbsp;Transforming XML documents</h2></div></div><div></div></div><p>Here is synopsis for 'xml tr' command:</p><pre class="programlisting">XMLStarlet Toolkit: Transform XML document(s) using XSLT
-Usage: xml tr [&lt;options&gt;] &lt;xsl-file&gt; {-p|-s &lt;name&gt;=&lt;value&gt;} [ &lt;xml-file-or-uri&gt; ... ]
+</pre><p></p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e442"></a>2.&nbsp;Transforming XML documents</h2></div></div><div></div></div><p>Here is synopsis for 'xmlstarlet tr' command:</p><pre class="programlisting">XMLStarlet Toolkit: Transform XML document(s) using XSLT
+Usage: xmlstarlet tr [&lt;options&gt;] &lt;xsl-file&gt; {-p|-s &lt;name&gt;=&lt;value&gt;} [ &lt;xml-file-or-uri&gt; ... ]
 where
    &lt;xsl-file&gt;      - main XSLT stylesheet for transformation
    &lt;xml-file&gt;      - input XML document file name (stdin is used if missing)
@@ -315,7 +345,7 @@ XML documents (for more information see 
 Current implementation uses libxslt from GNOME codebase as XSLT processor
 (see http://xmlsoft.org/ for more details)
 </pre><p>EXAMPLE:</p><pre class="programlisting"># Transform passing parameters to XSLT stylesheet
-xml tr xsl/param1.xsl -p Count='count(/xml/table/rec)' -s Text="Count=" xml/table.xml
+xmlstarlet tr xsl/param1.xsl -p Count='count(/xml/table/rec)' -s Text="Count=" xml/table.xml
 </pre><p>Input xsl/params1.xsl</p><pre class="programlisting">&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
 &lt;xsl:output method="text"/&gt;
 &lt;xsl:param name="Text"/&gt;
@@ -331,8 +361,8 @@ xml tr xsl/param1.xsl -p Count='count(/x
   &lt;/xsl:for-each&gt;
 &lt;/xsl:template&gt;
 &lt;/xsl:stylesheet&gt;</pre><p>Output</p><pre class="programlisting">Count=3
-</pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e461"></a>3.&nbsp;Editing XML documents</h2></div></div><div></div></div><p>Here is the synopsis for 'xml ed' command:</p><pre class="programlisting">XMLStarlet Toolkit: Edit XML document(s)
-Usage: xml ed &lt;global-options&gt; {&lt;action&gt;} [ &lt;xml-file-or-uri&gt; ... ]
+</pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e461"></a>3.&nbsp;Editing XML documents</h2></div></div><div></div></div><p>Here is the synopsis for 'xmlstarlet ed' command:</p><pre class="programlisting">XMLStarlet Toolkit: Edit XML document(s)
+Usage: xmlstarlet ed &lt;global-options&gt; {&lt;action&gt;} [ &lt;xml-file-or-uri&gt; ... ]
 where
   &lt;global-options&gt;  - global options for editing
   &lt;xml-file-or-uri&gt; - input XML document file name/uri (stdin is used if missing)
@@ -360,7 +390,7 @@ where &lt;action&gt;
 XMLStarlet is a command line toolkit to query/edit/check/transform
 XML documents (for more information see http://xmlstar.sourceforge.net/)
 </pre><p>EXAMPLE:</p><pre class="programlisting"># Delete elements matching XPath expression
-xml ed -d "/xml/table/rec[@id='2']" xml/table.xml
+xmlstarlet ed -d "/xml/table/rec[@id='2']" xml/table.xml
 </pre><p>Input</p><pre class="programlisting">&lt;xml&gt;
   &lt;table&gt;
     &lt;rec id="1"&gt;
@@ -390,14 +420,14 @@ xml ed -d "/xml/table/rec[@id='2']" xml/
   &lt;/table&gt;
 &lt;/xml&gt;
 </pre><p>EXAMPLE</p><pre class="programlisting"># Move element node
-echo '&lt;x id="1"&gt;&lt;a/&gt;&lt;b/&gt;&lt;/x&gt;' | xml ed -m "//b" "//a"
+echo '&lt;x id="1"&gt;&lt;a/&gt;&lt;b/&gt;&lt;/x&gt;' | xmlstarlet ed -m "//b" "//a"
 </pre><p>Output</p><pre class="programlisting">&lt;x id="1"&gt;
   &lt;a&gt;
     &lt;b/&gt;
   &lt;/a&gt;
 &lt;/x&gt;
 </pre><p>EXAMPLE</p><pre class="programlisting"># Rename attributes
-xml ed -r "//*/@id" -v ID xml/tab-obj.xml
+xmlstarlet ed -r "//*/@id" -v ID xml/tab-obj.xml
 </pre><p>Output:</p><pre class="programlisting">&lt;xml&gt;
   &lt;table&gt;
     &lt;rec ID="1"&gt;
@@ -419,7 +449,7 @@ xml ed -r "//*/@id" -v ID xml/tab-obj.xm
   &lt;/table&gt;
 &lt;/xml&gt;
 </pre><p>EXAMPLE</p><pre class="programlisting"># Rename elements
-xml ed -r "/xml/table/rec" -v record xml/tab-obj.xml
+xmlstarlet ed -r "/xml/table/rec" -v record xml/tab-obj.xml
 </pre><p>Output:</p><pre class="programlisting">&lt;xml&gt;
   &lt;table&gt;
     &lt;record id="1"&gt;
@@ -441,7 +471,7 @@ xml ed -r "/xml/table/rec" -v record xml
   &lt;/table&gt;
 &lt;/xml&gt;
 </pre><p>EXAMPLE</p><pre class="programlisting"># Update value of an attribute
-xml ed -u "/xml/table/rec[@id=3]/@id" -v 5 xml/tab-obj.xml
+xmlstarlet ed -u "/xml/table/rec[@id=3]/@id" -v 5 xml/tab-obj.xml
 </pre><p>Output:</p><pre class="programlisting">&lt;xml&gt;
   &lt;table&gt;
     &lt;rec id="1"&gt;
@@ -463,7 +493,7 @@ xml ed -u "/xml/table/rec[@id=3]/@id" -v
   &lt;/table&gt;
 &lt;/xml&gt;
 </pre><p>EXAMPLE</p><pre class="programlisting"># Update value of an element
-xml ed -u "/xml/table/rec[@id=1]/numField" -v 0 xml/tab-obj.xml
+xmlstarlet ed -u "/xml/table/rec[@id=1]/numField" -v 0 xml/tab-obj.xml
 </pre><p>Output:</p><pre class="programlisting">&lt;xml&gt;
   &lt;table&gt;
     &lt;rec id="1"&gt;
@@ -484,8 +514,8 @@ xml ed -u "/xml/table/rec[@id=1]/numFiel
     &lt;/rec&gt;
   &lt;/table&gt;
 &lt;/xml&gt;
-</pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e520"></a>4.&nbsp;Validating XML documents</h2></div></div><div></div></div><p>Here is synopsis for 'xml val' command:</p><pre class="programlisting">XMLStarlet Toolkit: Validate XML document(s)
-Usage: xml val &lt;options&gt; [ &lt;xml-file-or-uri&gt; ... ]
+</pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e520"></a>4.&nbsp;Validating XML documents</h2></div></div><div></div></div><p>Here is synopsis for 'xmlstarlet val' command:</p><pre class="programlisting">XMLStarlet Toolkit: Validate XML document(s)
+Usage: xmlstarlet val &lt;options&gt; [ &lt;xml-file-or-uri&gt; ... ]
 where &lt;options&gt;
    -w or --well-formed        - validate well-formedness only (default)
    -d or --dtd &lt;dtd-file&gt;     - validate against DTD
@@ -502,14 +532,14 @@ NOTE: XML Schemas are not fully supporte
 XMLStarlet is a command line toolkit to query/edit/check/transform
 XML documents (for more information see http://xmlstar.sourceforge.net/)
 </pre><p>EXAMPLE</p><pre class="programlisting"># Validate XML document against DTD
-xml val --dtd dtd/table.dtd xml/tab-obj.xml &gt;/dev/null 2&gt;&amp;1; echo $?
+xmlstarlet val --dtd dtd/table.dtd xml/tab-obj.xml &gt;/dev/null 2&gt;&amp;1; echo $?
 </pre><p>Output:</p><pre class="programlisting">1
 </pre><p>EXAMPLE</p><pre class="programlisting"># Validate against XSD schema
-xml val -b -s xsd/table.xsd xml/table.xml xml/tab-obj.xml 2&gt;/dev/null; echo $?
+xmlstarlet val -b -s xsd/table.xsd xml/table.xml xml/tab-obj.xml 2&gt;/dev/null; echo $?
 </pre><p>Output:</p><pre class="programlisting">xml/tab-obj.xml
 1
-</pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e543"></a>5.&nbsp;Formatting XML documents</h2></div></div><div></div></div><p>Here is synopsis for 'xml fo' command:</p><pre class="programlisting">XMLStarlet Toolkit: Format XML document
-Usage: xml fo [&lt;options&gt;] &lt;xml-file&gt;
+</pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e543"></a>5.&nbsp;Formatting XML documents</h2></div></div><div></div></div><p>Here is synopsis for 'xmlstarlet fo' command:</p><pre class="programlisting">XMLStarlet Toolkit: Format XML document
+Usage: xmlstarlet fo [&lt;options&gt;] &lt;xml-file&gt;
 where &lt;options&gt; are
    -n or --noindent            - do not indent
    -t or --indent-tab          - indent output with tabulation
@@ -526,7 +556,7 @@ where &lt;options&gt; are
 XMLStarlet is a command line toolkit to query/edit/check/transform
 XML documents (for more information see http://xmlstar.sourceforge.net/)
 </pre><p>EXAMPLE</p><pre class="programlisting"># Format XML document disabling indent
-cat xml/tab-obj.xml | xml fo --noindent 
+cat xml/tab-obj.xml | xmlstarlet fo --noindent 
 </pre><p>Output:</p><pre class="programlisting">&lt;xml&gt;
 &lt;table&gt;
 &lt;rec id="1"&gt;
@@ -548,7 +578,7 @@ cat xml/tab-obj.xml | xml fo --noindent 
 &lt;/table&gt;
 &lt;/xml&gt;
 </pre><p>EXAMPLE</p><pre class="programlisting"># Recover malformed XML document
-xml fo -R xml/malformed.xml 2&gt;/dev/null
+xmlstarlet fo -R xml/malformed.xml 2&gt;/dev/null
 </pre><p>Input:</p><pre class="programlisting">&lt;test_output&gt;
    &lt;test_name&gt;foo&lt;/testname&gt;
    &lt;subtest&gt;...&lt;/subtest&gt;
@@ -557,8 +587,8 @@ xml fo -R xml/malformed.xml 2&gt;/dev/nu
   &lt;test_name&gt;foo&lt;/test_name&gt;
   &lt;subtest&gt;...&lt;/subtest&gt;
 &lt;/test_output&gt;
-</pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e570"></a>6.&nbsp;Canonicalization of XML documents</h2></div></div><div></div></div><p>Here is synopsis for 'xml c14n' command:</p><pre class="programlisting">XMLStarlet Toolkit: XML canonicalization
-Usage: xml c14n &lt;mode&gt; &lt;xml-file&gt; [&lt;xpath-file&gt;] [&lt;inclusive-ns-list&gt;]
+</pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e570"></a>6.&nbsp;Canonicalization of XML documents</h2></div></div><div></div></div><p>Here is synopsis for 'xmlstarlet c14n' command:</p><pre class="programlisting">XMLStarlet Toolkit: XML canonicalization
+Usage: xmlstarlet c14n &lt;mode&gt; &lt;xml-file&gt; [&lt;xpath-file&gt;] [&lt;inclusive-ns-list&gt;]
 where
   &lt;xml-file&gt;   - input XML document file name (stdin is used if '-')
   &lt;xpath-file&gt; - XML file containing XPath expression for
@@ -582,7 +612,7 @@ where
 XMLStarlet is a command line toolkit to query/edit/check/transform
 XML documents (for more information see http://xmlstar.sourceforge.net/)
 </pre><p>EXAMPLE</p><pre class="programlisting"># XML canonicalization
-xml c14n --with-comments ../examples/xml/structure.xml ; echo $?
+xmlstarlet c14n --with-comments ../examples/xml/structure.xml ; echo $?
 </pre><p>Input ../examples/xml/structure.xml</p><pre class="programlisting">&lt;a1&gt;
   &lt;a11&gt;
     &lt;a111&gt;
@@ -612,7 +642,7 @@ xml c14n --with-comments ../examples/xml
 &lt;/a1&gt;
 0
 </pre><p>EXAMPLE</p><pre class="programlisting"># XML exclusive canonicalization
-xml c14n --exc-with-comments ../examples/xml/c14n.xml ../examples/xml/c14n.xpath
+xmlstarlet c14n --exc-with-comments ../examples/xml/c14n.xml ../examples/xml/c14n.xpath
 </pre><p>Input</p><pre class="programlisting">../examples/xml/c14n.xml
 
 &lt;n0:pdu xmlns:n0='http://a.example.com'&gt;
@@ -630,8 +660,8 @@ content
 </pre><p>Output</p><pre class="programlisting">&lt;n1:elem1 xmlns:n1="http://b.example"&gt;
 content
 &lt;/n1:elem1&gt;
-</pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e601"></a>7.&nbsp;XML and PYX format</h2></div></div><div></div></div><p>Here is synopsis for 'xml pyx' command:</p><pre class="programlisting">XMLStarlet Toolkit: Convert XML into PYX format (based on ESIS - ISO 8879)
-Usage: xml pyx {&lt;xml-file&gt;}
+</pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e601"></a>7.&nbsp;XML and PYX format</h2></div></div><div></div></div><p>Here is synopsis for 'xmlstarlet pyx' command:</p><pre class="programlisting">XMLStarlet Toolkit: Convert XML into PYX format (based on ESIS - ISO 8879)
+Usage: xmlstarlet pyx {&lt;xml-file&gt;}
 where
    &lt;xml-file&gt; - input XML document file name (stdin is used if missing)
 
@@ -646,7 +676,7 @@ ESIS Generation by Sean Mc Grath http://
 
 XMLStarlet is a command line toolkit to query/edit/check/transform
 XML documents (for more information see http://xmlstar.sourceforge.net/)
-</pre><p>EXAMPLE</p><pre class="programlisting">xml pyx input.xml
+</pre><p>EXAMPLE</p><pre class="programlisting">xmlstarlet pyx input.xml
 </pre><p>Input (input.xml)</p><pre class="programlisting">&lt;books&gt;
 &lt;book type='hardback'&gt;
 &lt;title&gt;Atlas Shrugged&lt;/title&gt;
@@ -673,15 +703,15 @@ Aid 1
 -\n
 )book
 -\n
-)books</pre><p>PYX is a line oriented format for XML files which can be helpful (and very efficient) when used in combination with regular line oriented UNIX command such as sed, grep, awk.</p><p>'depyx' option is used for conversion back from PYX into XML.</p><p>EXAMPLE (Delete all attributes). This should work really fast for very large XML documents.</p><pre class="programlisting">xml pyx input.xml | grep -v  "^A" | xml depyx</pre><p>Output</p><pre class="programlisting">&lt;books&gt;
+)books</pre><p>PYX is a line oriented format for XML files which can be helpful (and very efficient) when used in combination with regular line oriented UNIX command such as sed, grep, awk.</p><p>'depyx' option is used for conversion back from PYX into XML.</p><p>EXAMPLE (Delete all attributes). This should work really fast for very large XML documents.</p><pre class="programlisting">xmlstarlet pyx input.xml | grep -v  "^A" | xmlstarlet depyx</pre><p>Output</p><pre class="programlisting">&lt;books&gt;
 &lt;book&gt;
 &lt;title&gt;Atlas Shrugged&lt;/title&gt;
 &lt;author&gt;Ayn Rand&lt;/author&gt;
 &lt;isbn&gt;0525934189&lt;/isbn&gt;
 &lt;/book&gt;
-&lt;/books&gt;</pre><p>Here is an article which describes how PYX format can be used to grep XML. <a href="???" target="_top">http://www-106.ibm.com/developerworks/xml/library/x-matters17.html</a></p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e636"></a>8.&nbsp;Escape/Unescape special XML characters</h2></div></div><div></div></div><p>Here is synopsis for 'xml esc' command:</p><pre class="programlisting">xml esc --help
+&lt;/books&gt;</pre><p>Here is an article which describes how PYX format can be used to grep XML. <a href="???" target="_top">http://www-106.ibm.com/developerworks/xml/library/x-matters17.html</a></p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e636"></a>8.&nbsp;Escape/Unescape special XML characters</h2></div></div><div></div></div><p>Here is synopsis for 'xmlstarlet esc' command:</p><pre class="programlisting">xmlstarlet esc --help
 XMLStarlet Toolkit: Escape special XML characters
-Usage: xml esc [&lt;options&gt;] [&lt;string&gt;]
+Usage: xmlstarlet esc [&lt;options&gt;] [&lt;string&gt;]
 where &lt;options&gt; are
    --help      - print usage
    (TODO: more to be added in future)
@@ -690,7 +720,7 @@ if &lt;string&gt; is missing stdin is us
 XMLStarlet is a command line toolkit to query/edit/check/transform
 XML documents (for more information see http://xmlstar.sourceforge.net/)
 </pre><p>EXAMPLE</p><pre class="programlisting"># Escape special XML characters
-cat xml/structure.xml | xml esc
+cat xml/structure.xml | xmlstarlet esc
 </pre><p>Input</p><pre class="programlisting">&lt;a1&gt;
   &lt;a11&gt;
     &lt;a111&gt;
@@ -718,13 +748,13 @@ cat xml/structure.xml | xml esc
     &amp;lt;a131/&amp;gt;
   &amp;lt;/a13&amp;gt;
 &amp;lt;/a1&amp;gt;
-</pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e655"></a>9.&nbsp;List directory as XML</h2></div></div><div></div></div><p>Here is synopsis for 'xml ls' command:</p><pre class="programlisting">XMLStarlet Toolkit: List directory as XML
-Usage: xml ls
+</pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e655"></a>9.&nbsp;List directory as XML</h2></div></div><div></div></div><p>Here is synopsis for 'xmlstarlet ls' command:</p><pre class="programlisting">XMLStarlet Toolkit: List directory as XML
+Usage: xmlstarlet ls
 Lists current directory in XML format.
 
 XMLStarlet is a command line toolkit to query/edit/check/transform
 XML documents (for more information see http://xmlstar.sourceforge.net/)
-</pre><p>EXAMPLE</p><pre class="programlisting">xml ls
+</pre><p>EXAMPLE</p><pre class="programlisting">xmlstarlet ls
 </pre><p>Output</p><pre class="programlisting">&lt;xml&gt;
 &lt;d a="rwxr-xr-x" acc="2004.02.13 00:06:03" mod="2004.02.13 00:06:00" sz="4096"  n="."/&gt;
 &lt;d a="rwxr-xr-x" acc="2004.02.12 23:54:35" mod="2004.02.13 00:00:09" sz="4096"  n=".."/&gt;
@@ -744,19 +774,19 @@ XML documents (for more information see 
 ...
 &lt;/body&gt;
 &lt;/html&gt;
-</pre><p>And the following (initially looking correct) query to print all links</p><pre class="programlisting">xml sel -t -m "//a" -c . -n </pre><p>would return nothing. The issue with this query is that it is not addressing element &lt;a&gt; in the right namespace. XPath requires all namespaces used in XPath expression be defined. So for declared namespace &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; in input XML, you have to do same for XPath (or XSLT). There is another important detail: namespace equivalency is determined not by namespace prefix, but by URI. See query below, which would return expected result</p><pre class="programlisting">xml sel -N x="http://www.w3.org/1999/xhtml" -t -m "//x:a" -c . -n</pre><p>Example of deleting namespace declarations.</p><p>Delete namespace declarations and all elements from non default namespace from the following XML document:</p><p>Input (file ns2.xml)</p><pre class="programlisting">&lt;doc xmlns="http://www.a.com/xyz" xmlns:ns="http://www.c.com/xyz"&gt;
+</pre><p>And the following (initially looking correct) query to print all links</p><pre class="programlisting">xmlstarlet sel -t -m "//a" -c . -n </pre><p>would return nothing. The issue with this query is that it is not addressing element &lt;a&gt; in the right namespace. XPath requires all namespaces used in XPath expression be defined. So for declared namespace &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; in input XML, you have to do same for XPath (or XSLT). There is another important detail: namespace equivalency is determined not by namespace prefix, but by URI. See query below, which would return expected result</p><pre class="programlisting">xmlstarlet sel -N x="http://www.w3.org/1999/xhtml" -t -m "//x:a" -c . -n</pre><p>Example of deleting namespace declarations.</p><p>Delete namespace declarations and all elements from non default namespace from the following XML document:</p><p>Input (file ns2.xml)</p><pre class="programlisting">&lt;doc xmlns="http://www.a.com/xyz" xmlns:ns="http://www.c.com/xyz"&gt;
   &lt;A&gt;test&lt;/A&gt;
   &lt;B&gt;
     &lt;ns:C&gt;xyz&lt;/ns:C&gt;
   &lt;/B&gt;
 &lt;/doc&gt;
-</pre><p>Command:</p><pre class="programlisting">xml ed -N N="http://www.c.com/xyz" -d '//N:*' ns2.xml | sed -e 's/ xmlns.*=".*"//g'</pre><p>Output</p><pre class="programlisting">&lt;doc&gt;
+</pre><p>Command:</p><pre class="programlisting">xmlstarlet ed -N N="http://www.c.com/xyz" -d '//N:*' ns2.xml | sed -e 's/ xmlns.*=".*"//g'</pre><p>Output</p><pre class="programlisting">&lt;doc&gt;
   &lt;A&gt;test&lt;/A&gt;
   &lt;B/&gt;
 &lt;/doc&gt;
-</pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e709"></a>2.&nbsp;Special characters</h2></div></div><div></div></div><p>Sometimes issues appear with handling of special characters, where 'special' means in XML sence as well as in 'shell' terms. Examples below should clear at least some of the confusions.</p><p>You should not forget about the fact that your command lines are executed by shell and shell does substitutions of its special characters too. So for example, one may ask:</p><p>"Why does the following query return nothing?"</p><pre class="programlisting">echo '&lt;X name="foo"&gt;EEE&lt;/X&gt;' | xml sel -t -m /X[@name='foo'] -v .</pre><p>The answer lies in the way shell substitues 'foo', which simply becomes foo before the command is run. So the correct way to write that would be</p><pre class="programlisting">echo '&lt;X name="foo"&gt;EEE&lt;/X&gt;' | xml sel -t -m "/X[@name='foo']" -v .</pre><p>Another example involves XML special characters. Question: How to search for &amp;apos; in text nodes?</p><p>The following should help</p><pre class="programlisting">xml sel -t -m "//line[contains(text(),&amp;quot;'&amp;quot;)]" -c .
-</pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e731"></a>3.&nbsp;Sorting</h2></div></div><div></div></div><p>Let's take a look at XSLT produced by the following 'xml sel' command:</p><pre class="programlisting"># Query XML document and produce sorted text table
-xml sel -T -t -m /xml/table/rec -s D:N:- "@id" -v "concat(@id,'|',numField,'|',stringField)" -n xml/table.xml
+</pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e709"></a>2.&nbsp;Special characters</h2></div></div><div></div></div><p>Sometimes issues appear with handling of special characters, where 'special' means in XML sence as well as in 'shell' terms. Examples below should clear at least some of the confusions.</p><p>You should not forget about the fact that your command lines are executed by shell and shell does substitutions of its special characters too. So for example, one may ask:</p><p>"Why does the following query return nothing?"</p><pre class="programlisting">echo '&lt;X name="foo"&gt;EEE&lt;/X&gt;' | xmlstarlet sel -t -m /X[@name='foo'] -v .</pre><p>The answer lies in the way shell substitues 'foo', which simply becomes foo before the command is run. So the correct way to write that would be</p><pre class="programlisting">echo '&lt;X name="foo"&gt;EEE&lt;/X&gt;' | xmlstarlet sel -t -m "/X[@name='foo']" -v .</pre><p>Another example involves XML special characters. Question: How to search for &amp;apos; in text nodes?</p><p>The following should help</p><pre class="programlisting">xmlstarlet sel -t -m "//line[contains(text(),&amp;quot;'&amp;quot;)]" -c .
+</pre></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e731"></a>3.&nbsp;Sorting</h2></div></div><div></div></div><p>Let's take a look at XSLT produced by the following 'xmlstarlet sel' command:</p><pre class="programlisting"># Query XML document and produce sorted text table
+xmlstarlet sel -T -t -m /xml/table/rec -s D:N:- "@id" -v "concat(@id,'|',numField,'|',stringField)" -n xml/table.xml
 </pre><pre class="programlisting">&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
 &lt;xsl:output omit-xml-declaration="yes" indent="no" method="text"/&gt;
 &lt;xsl:param name="inputFile"&gt;-&lt;/xsl:param&gt;
@@ -771,4 +801,4 @@ xml sel -T -t -m /xml/table/rec -s D:N:-
   &lt;/xsl:for-each&gt;
 &lt;/xsl:template&gt;
 &lt;/xsl:stylesheet&gt;
-</pre><p>-s option of 'xml sel' command controls 'order', 'data-type', and 'case-order' attributes of &lt;xsl:sort/&gt; element .</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e744"></a>4.&nbsp;Validation</h2></div></div><div></div></div><p>Many questions are asked about XSD (XML schema) validation. Well, XmlStarlet relies on libxml2 which has incomplete support for XML schemas. Untill it is done in libxml2 it will not be in XmlStarlet.</p><p></p><p></p></div></div></div></body></html>
\ В конце файла нет новой строки
+</pre><p>-s option of 'xmlstarlet sel' command controls 'order', 'data-type', and 'case-order' attributes of &lt;xsl:sort/&gt; element .</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e744"></a>4.&nbsp;Validation</h2></div></div><div></div></div><p>Many questions are asked about XSD (XML schema) validation. Well, XmlStarlet relies on libxml2 which has incomplete support for XML schemas. Untill it is done in libxml2 it will not be in XmlStarlet.</p><p></p><p></p></div></div></div></body></html>
\ В конце файла нет новой строки
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009