This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: DOCBOOK: newbie help please
- To: docbook-apps at lists dot oasis-open dot org
- Subject: DOCBOOK-APPS: Re: DOCBOOK: newbie help please
- From: madhu <bmadi_1 at yahoo dot com>
- Date: Tue, 26 Sep 2000 11:21:29 +0530
- References: <001501c026b6$6c045320$cdc3568b@sci.usq.edu.au>
Hi,
On Mon, 25 Sep 2000, Phil shelton wrote:
> I have managed to write and validate some DocBook XML. However I do not know
> how to turn this into some print or html.
>
> Phill
here it is:
you need to have
xt /xp or saxon on your machine which in turn needs java installed on your
machine you need to have norman's stylesheet xsl version ( latest must be
ver1.18) you need to have the path to xt/xp or saxon set in your /etc/profile
(linux) or the CLASSPATH in windows
then at your prompt
( xalan wasn't not working properly with normans stylesheets FOR ME and the
probelm didn't appaear to be in norman's stylesheet TO ME for this)
for xt:
$java com.jclark.xsl.sax.Driver your *.xml file path to normans stylesheet( fo
for print and html/xhtml for html) output file
for saxon:
$java com.icl.saxon.StyleSheet [options] source-document stylesheet [
params..]
note for saxon the output file has given as [option] i think -o filename
if you dont/cant want to set the environement variable in your system
properties you can and have to give the classpath explicitly with your commands
like java -cp (path to xt/saxon) and the rest of the commands as described above
please see the documentation of xt/saxon for more details
i think you can download xt from james clark's site www.jclark.com
and saxon from here:
http://users.iclway.co.uk/mhkay/saxon/saxon.zip
hope this helps
regards
--
maddy
----------------------------------------------------------------------------
To tread the sharp edge of a sword
To run on smooth-frozen ice,
One needs no footsteps to follow.
Walk over the cliffs with hands free.
----------------------------------------------------------------------------