Version: 1.0.6

About igpp.xml

The igpp.xml is a collection of Java classes to simplify processing of XML files. It also contains a set of command-line tools that are easier to use than other common XML processing tools like xmllint and other tools found in < href=http://xmlsoft.org">libxml2 .

This package contains the following command-line tools:

prettyxml Converts XML to pretty XML.
toxhtml Converts an HTML file into a compliant XHTML file.
topdf Convert an XHTML file into a PDF file.
transform Transform an XML file using a stylesheet (XSL).
xmlgrep An XML aware grep tool that can search for elements (tags) that match a pattern as well as search the content of elements (tags) that match a pattern.

System Requirements

The igpp.xml tool was developed using Java and will run on any platform with a supported Java Runtime Environment (JRE). The software was specifically developed under Java version 1.6 and has only been tested with this version. You can determine which version of Java you are running with the command:

% java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-10M3425)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode)

Unpacking the Package

Download the igpp.xml package from the IGPP web site site. The binary distribution is available in identical zip or tar/gzip packages. The installation directory may vary from environment to environment but in UNIX-based environments it is typical to install software packages in the /usr/local directory and in Windows-based environments it is typical to install software packages in the C:\Program Files directory. Unpack the selected binary distribution file with the following command:

% unzip igpp-xml-1.0.6.zip

The unzip will result in the creation of the igpp-xml-1.0.6 directory with the following directory structure:

Using the Tools

Shell scripts to run the tool are in the "bin" directory in the distribution. You can run the tool on a Linux system with the command:

% xmlgrep
or on a Windows system with the command:
% xmlgrep.bat
See examples for how to use all the tools.