This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: saxon how to?


* Pfistner, Norbert; <Pfistner@TWI-Germany.com> on 24 May, 2002 wrote:
>/usr/share/sgml/docbook-xsl-1.50.0/extensions/saxon65.jar
>
>Is this actually the way to use saxon? Am I missing something?
>
>I have jdk1.3 installed on a linux (suse7.2) machine.
>java -version verifys this.
>
>How do I get saxon running?

I do not recall if I had JAVA_HOME environment variable set when I was
under SuSE 7.2 but you need to have the saxon libraries in your class
path so first export the CLASSPATH (note the libraries could be
different and their location may vary on your system as I have SUSE 8.0 

export \
CLASSPATH=/usr/lib/saxon/saxon.jar:/usr/lib/saxon/saxon-jdom.jar:/usr/lib/saxon/saxon-fop.jar:

'java com.icl.saxon.StyleSheet $1 $2 $3 '

1 output
2 documenent
3 stylesheet 

if uou got it working then make an alias in your .alias file

alias saxon= 'java com.icl.saxon.StyleSheet $1 $2 $3 '

Hope this helps


-- 

Togan Muftuoglu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]