In this explanation, we will presume that you're putting everything
in your /usr/local
directory. If you don't have root
privileges, or want to use a a different path like
/home/username
, that's fine; you'll just have to
“translate” the path in these instructions.
Note also that the version numbers for some of the packages on the disc are greater than those installed at De Anza; your disc contains more recent versions.
First, copy the xmljar
directory from the CD-ROM
to your /usr/local
directory.
All of the XML tools on this disc require Java 1.3 or above.
If you don't have Java installed on your system, go to the
linux
directory on the CD-ROM and run
the j2re-1_3_1_03-linux-i386.bin
file. This will
install the Java runtime environment on your machine.
If you didn't copy xmljar
to the
/usr/local
directory, you must modify the
shell files to work on your system.
As instructed on that page, you'll copy and paste the commands
into a file that you'll save on your system. You'll then replace
occurrences of /usr/local
with the path to
the directory where your xmljar
directory lives.
This section is provided for those folks who just have to know what is on the disc. Thus, it's going to use a lot of terminology that hasn't been explained in the class yet. Don't worry; you don't have to read this section to use the tools.
xmljar
directoryThe Xerces XML parser. This is the tool used to check for well-formedness and validity with DTDs
Another XML parser. We don't use it in this course.
Sun's Multi-Schema Validator. This is the tool used to check XML files for validity in conjunction with Relax NG grammars.
Another tool used to validate XML files in conjunction with Relax NG. We don't use this one in the course.
The Xalan transformation program. This is the tool that we will use to transform XML to XHTML.
This utility lets you type XPath expressions and see which
nodes in an XML document match that expression. The
xpathvis.sh
shell file
is set up to run to the program on the computers at
De Anza.
A not-very-sophisticated XML editor. To run the editor under
Linux, go into the directory (/usr/local/xmljar/Xerlin
)
and run the Xerlin.sh
file.
A set of tools for viewing and manipulating Scalable Vector Graphics (SVG) files. You can run it with this command on Linux:
java -jar /usr/local/xmljar/batik-1.5/batik-squiggle.jar
A tool for converting documents from XSL Formatting Objects (a page layout markup language) to PDF. See the “bonus lecture notes” for more information about XSL Formatting Objects.
linux
directoryThe Java Runtime Environment (JRE). All of the files whose names
begin with install-linux
are part of the JRE.
Mozilla 1.0. Use this command:
tar xvzf mozilla-i686-pc-linux-gnu-1.0-sea.tar.gz
to un-gzip and un-tar the file. This will create a
directory named mozilla-installer
. Read the
README
file, then run the script mozilla-installer/mozilla-installer
.