Xinq [Xml INQuiry]
Search and browse tool for accessing an XML database
Download and Installation Instructions
Download
Xinq can be downloaded from the Xinq project page on the Sourceforge website at http://sourceforge.net/projects/xinq.
The web application generator is available as a zip file containing all the files necessary to generate a functional web-application. This is downloadable from the Latest File Releases section of the Xinq project page. Before you can use Xinq to generate and run an application you will need to install other freely-available software which is detailed in the Installation section.
The source for the Xinq application is also available from the CVS repository, which can be browsed to from the bottom of the project page. The CVS repository had two modules:
- Web Application Generator - the contents of this module is the same as the downloadable package available from the Latest File Releases section. This module includes the xsl stylesheets, which generate the user interface for the web application, and also the compiled web application files. A build script which contructs the web application archive file is also included.
- Web Application Files - this module contains the source files for the web application.
Installation
Software Pre-requisites
You will need to install the following software before you can run Xinq:
- Apache Ant
- Apache Xalan
- A Java compliant web-container such as:
- Apache Tomcat
- Jetty
- An XML-database supporting the XML:DB API and XQuery such as:
- eXist
Running Xinq
- Unzip the Xinq archive.
- Create the application specification file. Two example files are included in the distribution: herrd_archive-spec.xml and artist_archive-spec.xml. You should use these for your intitial builds
- Use the ant build tool to run the default build.xml build file. This file requires two parameters, the archive specification file name and the application name, and a build file target.
Here is an example
for the herrd archive specification:
- ant -DappName=herrd -Dspec=herrd_archive-spec.xml dist
- In the dist folder of the Xinq archive will be a new web archive file (.war) which is ready for installation in a Java-compliant web-application container.
