On 02/17/02 10:04, "Stephen Clarke" <[EMAIL PROTECTED]> wrote:
> Hi Carlos, > > Thanks for taking the trouble to reply. I did try what you suggested, but I > regret things didn't go quite according to plan. Here's what happened. > > First of all I got a ClassDefNotFound on the saxon StyleSheet, so I > downloaded the full Saxon ( i was using instant, ehem ) and put saxon.jar in > my classpath. Now i am getting a TransformerException on > org.apache.xerces.parsers.SAXParser. My apologies. The command I sent was for the command line version of Saxon. I don't use it on servlets, prefering to run Saxon by hand > > In any case, I'm not sure I want to use Xerces. If cocoon comes with Xalan > then maybe I should use that one. I have since discovered that Saxon uses > the AElfred parser ( whatever that is ). So I have an xsl that works fine > with saxon but throws a big bluey in cocoon. Maybe my qestion ought to be > 'How can i run at the command line whatever cocoon is doing internally, so > that I can check for errors' Saxon and Xalan implement different extensions differently. You can run both Saxon and Xalan from the command line, but be aware from the start that they will not work exactly the same with a given piece of XSLT stylesheets. > > With that in mind, and just for kicks, I tried changing 'xerces' to 'xalan' > in your instrunctions. No cigar. See answer above. > > If someone happens to know what I need to know, please pass that important > information my way. I'd be very grateful. Sorry I couldn't be anymore help Carlos > -- > Best, > Stephen > > ----- Original Message ----- >> java com.icl.saxon.StyleSheet -x org.apache.xerces.parsers.SAXParser <name >> of the file> <name of the stylesheet> -- Carlos E. Araya ---+ WebCT Administrator/Trainer P | California Virtual Campus - | C/O De Anza College G | 21250 Stevens Creek Blvd ---+ Cupertino, CA 95014 email [EMAIL PROTECTED] web http://www.cvc1.org/ (work) http://www.silverwolf-net.net (personal) phone 408 257 0420 (work) PGP Fingerprint: E629 5DFD 7EAE 4995 E9D7 3D2F 5A9F 0CE7 DFE7 1756 "Do not meddle in the affairs of dragons....for you are crunchy and taste good with ketchup and mayonnaise.." --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>