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]

Re: saxon


At 08:59 PM 5/25/01, Kunath, Marcel wrote:

>I was trying out an example but it gave me this error:
>
>F:\saxon\samples>java com.icl.saxon.StyleSheet data\othello.xml
>styles\play.xsl
>dir=playhtml
>Exception in thread "main" java.lang.NoClassDefFoundError:
>com/icl/saxon/StyleSheet
>
>It says to add the directory to the classpath. God knows what this means
>under Windows. I added 
>f:\saxon to the System PATH variable. Doesn't help.

Nearly, not quite.

try java -classpath F:\saxon\saxon.jar -o file.html com.icl.saxon.StyleSheet data\othello.xml 

This assumes 
saxon.jar is in directory f:\saxon
source file is in f:\data
output file is file.html

HTH DaveP


------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org


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