CERN Accelerating science

This website is no longer maintained. Its content may be obsolete. Please visit http://home.cern/ for current CERN information.

CERN home pageCERN home pageDocuments by ReferenceDocuments by ReferenceCNLsCNLsYear 2001Year 2001Help, Info about this page

Contents
Index

Editorial Information
Editorial
If you need help
Announcements Special 35th Anniversary Physics Computing Desktop Computing Internet Services and Network Scientific Applications and Software Engineering Desktop Publishing The Learning Zone User Documentation Just For Fun ...
Previous:Installing LATEX 2001
Next:The Learning Zone
 (See printing version)



XML Applications at CERN

Michel Goossens , IT/API


In the AFS directory /afs/cern.ch/sw/XML/cdrom there a number of publicly available XML tools for Linux as well as a lot of XML-related documentation and tutorials. The file index.html in that directory provides an entry point to much of what is available. The XML tools, such as saxon.sh, xerces.sh, batik.sh, can be executed by defining the shell variable XMLCDROM and by including the relevant directory in your PATH variable, as follows (depending on your Unix shell):

# for Bourne-like shells
XMLCDROM=/afs/cern.ch/sw/XML/cdrom
PATH=$XMLCDROM/bin/i386:$PATH
export PATH XMLCDROM

# for C-like shells
setenv XMLCDROM /afs/cern.ch/sw/XML/cdrom
setenv PATH $XMLCDROM/bin/i386:{$PATH}

I am in the process of making all the XML-related files mentioned above also available on the NICE2000 system at CERN. At present a few of the tools (and an earlier version of the doc and tutorials) are already installed in the dfs directory \\cern.ch\dfs\Experiments\sw\Xml. If you map this folder, e.g., to your "X drive", and add the folder X:\bin\win32; to the end of your path, as explained in the previous section, you can use saxon, etc. For the moment on NICE2000 I have hard-code the path using the "X drive "into the bat files. I intend to make these files more independent of the precise path where the tools are installed. Moreover, as in the case of TEX, I am looking into ways of easing the installation of the tools locally.


About the author(s): Michel Goossens is a CERN authority on LATEX, XML and Electronic Document Publishing techniques in general. He has written several articles and books on the subject.


For matters related to this article please contact the author.
Cnl.Editor@cern.ch


CERN-CNL-2001-003
Vol. XXXVI, issue no 3


Last Updated on Fri Dec 07 14:18:28 CET 2001.
Copyright © CERN 2001 -- European Organization for Nuclear Research