Publisher review:XSH2 is a powerfull command-line tool for querying, processing and editing XML documents. XSH2 is a powerfull command-line tool for querying, processing and editing XML documents. It features a shell-like interface with auto-completion for comfortable interactive work, but can be as well used for off-line (batch) processing of XML data. XSH makes extensive use of the XPath language, but system shell and the Perl programming language are both accessible from XSH as well, in a very natural way. XSH itself is written in Perl and uses XML::LibXML bindings of libxml2 library as the XML-backend.
Features:
- Work with multiple DOM trees at once
- Filesystem-like navigation within the DOM tree using XPath
- XPath-based copy/move nodes within a DOM tree or between two DOM trees (with automatic node-type conversion, so that you may e.g. move text nodes into attributes or comments)
- Deleting nodes, creating nodes of any type (elements, attributes, text, cdata, comments, well-balanced XML chunks, and (experimentally) even entity reference)
- XPath-based search and XML listing
- Arbitrary XPath and Perl expression evaluation
- Conditional statements, while loop, Perl-like foreach loop
- Command outupt redirection using a unix pipe;
XSH2 is a Perl script for Other scripts design by Petr Pajas.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
XSH2 is a powerfull command-line tool for querying, processing and editing XML documents.
Operating system:Windows / Linux / Mac OS / BSD / Solaris