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. |
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)
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:
A README file directing the user to the available documentation for the project.
The copyright notice from the Regents of the University of California detailing the restrictions regarding the use and distribution of this software. Although the license is strictly worded, the software has been classified as Technology and Software Publicly Available (TSPA) and is available for anyone to download and use.
This directory contains batch and shell scripts for executing the tool.
This directory contains documentation, api javadoc, and other related information.
This directory contains examples of using the tool.
This directory contains the dependent jar files for the tool along with the executable jar file (igpp-xml-1.0.6.jar) containing the igpp-xml tool software.
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
% xmlgrep.bat