same cocoon distribution do not work as servlet and command line

2002-07-15 Thread Sebastien SACARD
Hi, I'm trying to run cocoon on command line and as a servlet under tomcat. From the different mailing lists I've been reading, it seems that the binary distribution of cocoon (2-0.2) can't work as a command-line application, whereas the source distribution can. My experience seems to

[broken link] while running org.apache.cocoon.Main

2002-07-09 Thread Sebastien SACARD
Hi, I successfully installed cocoon under tomcat, and run it also in command line through an Ant task. But now I'm trying to run it through a simple shell script, I'm getting : DEBUG 10262 [] (): Set the URI Prefix (OLD=, NEW=) DEBUG 10262 [] (): Reset context to

writing servlet output to disk

2002-07-01 Thread Sebastien SACARD
Hi, I used the coccon command line application for a while, and I just migrated to the servlet version with Tomcat. I'd like both to write the result of a pipeline to disk AND to the standart output (in the servlet case, the Response object). I don't need to do both in the same time. for

Re: how to remove the DTD wriiten at the top ?

2002-06-26 Thread Sebastien SACARD
of encoding, doctype-public, and doctype-system tags? 2) What version of cocoon are you using? Geoff Howard -Original Message- From: Sebastien SACARD [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 2:55 AM To: [EMAIL PROTECTED] Subject: Re: how to remove the DTD wriiten at the top

'optimised HTML' serialiser

2002-06-25 Thread Sebastien SACARD
Hi, In a production environment, it's important to have 'optimised HTML' (without quotes, without spaces, etc ...) in order to lower the number of bytes to the end user. This question sounds a little silly, but does anyone know a transformer or a serialiser that produces such HTML ?

Re: 'optimised HTML' serialiser

2002-06-25 Thread Sebastien SACARD
. Cheers, Manos -Original Message- From: Sebastien SACARD [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 2:34 PM To: [EMAIL PROTECTED] Subject: 'optimised HTML' serialiser Hi, In a production environment, it's important to have 'optimised HTML' (without quotes, without spaces, etc

Re: 'optimised HTML' serialiser

2002-06-25 Thread Sebastien SACARD
Excellent, thanks !! Bert Van Kets wrote: If you want to strip the indent spaces add these lines to the last XSL: xsl:output indent=no method=html/ xsl:strip-space elements=*/ To optimise the flow, I add them to every XSL. Bert At 13:33 25/06/2002 +0200, you wrote: Hi, In a

Re: 'optimised HTML' serialiser

2002-06-25 Thread Sebastien SACARD
Not supported by Netscape 4.X Luca Morandini wrote: ...or, for the sake of getting rid of indentation, you can set indentno/indent in your HTML serializer definition. But, if you have big HTMLs, the real answer is compress the whole thing; both IIS and Apache have this feature, which is

Re: how to remove the DTD wriiten at the top ?

2002-06-24 Thread Sebastien SACARD
Vadim Gritsenko wrote: From: Sebastien SACARD [mailto:[EMAIL PROTECTED]] Hi, I can't get rid off the DTD declaration written on top of the HTML pages created with a default serializer : map:serializers default=html map:serializer name=html mime-type=text/html; charset ISO-8859-1 src

Re: Could you help me find the article?

2002-06-13 Thread Sebastien SACARD
Maybe you're talking about the IBM tutorials you can found here : http://www-105.ibm.com/developerworks/education.nsf/dw/xml-onlinecourse-bynewest?OpenDocumentCount=500 There is 2 or 3 articles about how to use cocoon. Robert Nicholson wrote: I was wondering if somebody could help me I've lost

Re: cocoon as commandline tool

2002-06-10 Thread Sebastien SACARD
Renzo, I can answer only to 3 (I'm a newbie too, but I'm please to answer to this) : -u is the log level different values available, INFO, DEBUG for example. DEBUG will give useful informations when things go wrong. Renzo Kottmann wrote: Hello All, My name is Renzo and I'm a NEWBIE to

missing classes ?

2002-05-30 Thread Sebastien SACARD
Hi, I'm trying to run cocoon from the command line, like this : /usr/java/jdk/bin/java -classpath ../WEB-INF/lib/cocoon-2.0.2.jar org.apache.cocoon.Main -c../WEB-INF/lib -d. -w./work -l/work/cocoon.log -uINFO index.html and it appears that classes are missing fromt the packages extracted

Re: missing classes ?

2002-05-30 Thread Sebastien SACARD
: Sebastien SACARD [mailto:[EMAIL PROTECTED]]Hi,I'm trying to run cocoon from the command line, like this :/usr/java/jdk/bin/java -classpath ../WEB-INF/lib/cocoon-2.0.2.jarorg.apache.cocoon.Main -c../WEB-INF/lib -d. -w./work -l/work/cocoon.log -uINFO index.htmland it appears that classes

template possibilities

2002-05-29 Thread Sebastien SACARD
Hi, I want to use cocoon to generate my website static pages and I know it can do it perfectly; but I did not find a way to do this simple thing : - my pages are built from different modules and a gobal template. - Each module is composed of one XML document and a XSLT file, and I want to

Re: template possibilities

2002-05-29 Thread Sebastien SACARD
ther idea, let me know.fabien. -Message d'origine-De: Sebastien SACARD [mailto:[EMAIL PROTECTED]]Date: mercredi 29 mai 2002 14:05: [EMAIL PROTECTED]Objet: template possibilitiesHi,I want to use cocoon to generate my website static pages and I know it can do it perfectly; but I did