This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Trying to find a working XSLT processor
At 01/09/06 13:04 -0400, I wrote:
>At 01/09/06 17:24 +0100, Tony Graham wrote:
>>Have you tried using XP with one of the other Java XSLT processors?
>
>Not yet ... I was hoping to find something off-the-shelf.
Okay, I've tried but can't get success with using XP with Saxon:
According to http://www.jclark.com/xml/xp/index.html com.jclark.xml.sax is
the name of the SAX 1.0 driver ... I don't see a SAX 2.0 driver.
According to http://saxon.sourceforge.net/saxon6.4.3/instant.html#Running
"The parser must be the fully-qualified class name of a Java class that
implements the org.xml.sax.Parser or org.xml.sax.XMLReader interface"
What I get, first running Saxon as is, then with XP:
X:\prog>java -cp "saxon.jar" com.icl.saxon.StyleSheet hello.xml hello.xsl
<b><i><u>Hello world.</u></i></b>
X:\prog>java -cp "saxon.jar;sax.jar;xp.jar" com.icl.saxon.StyleSheet -x
com.jcla
rk.xml.sax -y com.jclark.xml.sax hello.xml hello.xsl
Exception in thread "main"
javax.xml.transform.TransformerFactoryConfigurationEr
ror: javax.xml.transform.TransformerException: Failed to load
com.jclark.xml.sax
at
com.icl.saxon.TransformerFactoryImpl.makeParser(TransformerFactoryImp
l.java:538)
at
com.icl.saxon.TransformerFactoryImpl.getSourceParser(TransformerFacto
ryImpl.java:491)
at com.icl.saxon.StyleSheet.doMain(StyleSheet.java:279)
at com.icl.saxon.StyleSheet.main(StyleSheet.java:62)
X:\prog>
Can anyone suggest my next step?
Thanks for any help you can be!
........................... Ken
--
Training Blitz: 3-days XSLT/XPath, 2-days XSLFO in Ottawa 2001-10-01/05
G. Ken Holman mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995)
Web site: XSL/XML/DSSSL/SGML/OmniMark services, training, products.
Book: Practical Transformation Using XSLT and XPath ISBN 1-894049-06-3
Article: What is XSLT? http://www.xml.com/pub/2000/08/holman/index.html
Next public instructor-led training: 2001-09-18,09-19,10-01,10-04,
- 10-22,11-05,12-09,12-10,02-02
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list