xsh - an XML Editing Shell
--------------------------
Copyright (c) 2002,2003,2004 Petr Pajas
To install xsh, first install all required modules as described below.
Then install xsh either
automatically (highly recommended):
-----------------------------------
From CPAN:
$ perl -MCPAN -e shell
cpan> install XML::XSH2
From tar-ball:
$ unzip XML-XSH-XXXXX.tar.gz
$ cd XML-XSH-XXXXX
$ perl Makefile.PL
$ make
$ make install
you may use `perl Makefile.PL PREFIX=<prefix>' to install to a
directory tree different from /usr
From CVS:
$ cvs -d:pserver:anonymous@cvs.xsh.sourceforge.net -z3 co -P xsh
$ cd xsh
$ perl Makefile.PL
$ make cvs
$ perl Makefile.PL
$ make
$ make install
or
manually (doesn't work for CVS checkouts):
------------------------------------------
1) copy xsh to some location in your PATH
2) copy lib/XSH subdirectory and its content into one of the following
locations:
- a directory in Perl's @INC search path
- the directory where you placed xsh
- a lib/ directory in the parent directory of the directory
where xsh is located
- a lib/ sub-directory in the directory where xsh is located
For example:
cp xsh /usr/local/bin
cp -R XSH/ /usr/local/lib
chmod 775 /usr/local/bin/xsh # if your tar did not preserve this
Requirements:
-------------
o Unix/BSD/Linux or similar operating system
o Perl version 5.6 (may work with earlier Perl5, but wasn't tested)
o The following modules, available at CPAN http://www.cpan.org:
Parse::RecDescent (>=1.80)
XML::LibXML::Common (>=0.13)
XML::LibXML (>=1.57)
XML::LibXSLT (>=1.53)
XML::LibXML::XPathContext (>=0.06)
Term::ReadLine::Perl
A bundle of all this modules and below mentioned libraries may be
downloaded from http://xsh.sourceforge.net/download.html
Other Dependencies:
-------------------
For the full list of dependences, see http://xsh.sourceforge.net/requirements.html
Installing modules from CPAN
----------------------------
If you have a direct internet connection, you may install Perl modules
from CPAN by typing
$ perl -MCPAN -e shell
answering few initial questions and installing the modules one by one with
cpan> install <module-name>
where <module-name> is one of the modules mentioned above.