XSH 2.1.0

XSH is a powerful command-line shell for XML processing.
XSH is a powerfull command-line XML (DOM) editing tool/programming language in the manner of Unix shell interpreters and line-oriented text editors like ed. XSH project can be used either interactively or for batch-mode XML processing.

Installation:

Download and install all required perl modules. See INSTALL for a list. To install xsh itself, check PREFIX in config.mk and type `make install'. If you don't trust make-files, read INSTALL for details on manual installation.

Here are some key features of "XSH":

work with multiple DOM trees at once
XPATH navigation (filesystem-like) navigation within a DOM tree
copy/move nodes within a DOM tree or between two DOM trees
node deletion
node creation (element, attribute, text, cdata, comment, well-balanced chunk)
XPATH search and XML listing of nodes matched with XPATH
XPATH-based conditional statements, while statement
foreach statement allowing usage of relative XPATH expressions
command output filtering with unix pipe, for example xsh> list //word | grep [A-Z] | less
to read a list all word elements containing chars from [A-Z] in less
use of system commands (!ls) like in ftp
XSLT transformation
validation
textual and node-list variables
user-defined procedures
access to perl and shell commands
extensive help
and more

Requirements:

libxml2
Term-ReadLine-Perl
Text-Balanced
Parse-RecDescent
Text-Iconv
XML-NamespaceSupport
XML-SAX-Base
XML-SAX
XML-NodeFilter
XML-Filter-BufferText
XML-LibXML-Common
XML-LibXML
XML-LibXML-Iterator
XML-LibXML-XPathContext
XML-LibXSLT
XML-SAX-Writer
XML-XUpdate-LibXML
XML-Filter-DOMFilter

What's New in This Release:

New Features:
XSH scripts can be "compiled" (xsh -D) into Perl scripts which start faster (see xsh --help for details)
XML::XSH2::Compile module allows efficient embedding of XSH2 scripts into Perl modules (see the module's manpage)
new command 'set' simplifies creating and modifying nodes
new command 'hash' simplifies hashing/grouping nodes by arbitrary keys
new commands 'change-ns-prefix' and 'change-ns-uri' add full control over namespace declarations
XPath functions xsh:match() (regexp matching), xsh:filename() (introspection), and xsh:lookup() (hash retrieval), xsh:document() (get open document by filename), and xsh:documents() (get all open documents)
the interactive shell has a customizable prompt

Enhancements:
the mapping expression of 'rename' and 'map' can be XPath
added save --encoding flag
added echo --no-space (:n) flag
pwd and locate can return paths based on a nearest (ancestor-or-self) ID
completion for default, xsh, and user-defined XPath functions
improved namespace handling
filenames of documents parsed from a file are absolute
many bugfixes

last updated on:
January 3rd, 2007, 23:35 GMT
price:
FREE!
homepage:
xsh.sourceforge.net
license type:
GPL (GNU General Public License) 
developed by:
Petr Pajas
category:
ROOT \ Utilities
XSH
Download Button

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!

Add your review!

SUBMIT