#! /bin/sh
#
# Shell script to run the Xerces XSLT processor.
# Adapted from 'fop' in this directory.

SGML_JARS=/mit/sgml/share/java

if [ -n "$CLASSPATH" ] ; then
  LOCALCLASSPATH=$CLASSPATH
fi

# Add in jars that need to be loaded:
for i in xalan-2.3.1 xercesImpl-2.0.1 xml-apis
do
    LOCALCLASSPATH=/mit/sgml/share/java/$i.jar:$LOCALCLASSPATH
done

java -classpath "$LOCALCLASSPATH" org.apache.xalan.xslt.Process "$@"

