trying to add Xerces to the mix and am getting error...

# echo $CLASSPATH
:/var/www/html/docbook-xsl/extensions/saxon65.jar:\
/var/www/html/docbook-xsl/extentions/xalan27.jar:\
/var/www/html/saxon/saxon.jar:\
/var/www/html/saxon/xercesImpl.jar
(these are all valid paths)

# java \
>   -Djavax.xml.parsers.DocumentBuilderFactory=\
>      org.apache.xerces.jaxp.DocumentBuilderFactoryImpl \
>   -Djavax.xml.parsers.SAXParserFactory=\
>      org.apache.xerces.jaxp.SAXParserFactoryImpl \
>   com.icl.saxon.StyleSheet -t \
>   -o myfile.html \
>   /var/www/html/books/content/books/xml/qm_manual/en/index.xml \
>   /var/www/html/docbook-xsl/html/docbook.xsl
Exception in thread "main" java.lang.NoSuchMethodError: main

(bulk of example taken from page 21 of Bob's 4th Ed Docbook XSL with
obvious substitution of input file but error occurs regardless)

xercesImp.jar taken from downloaded binary
file...Xerces-J-bin.2.9.1.tar.gz and obviously put into folder with
saxon stuff...

Did I do something wrong?

Craig


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to