inserting doctype from xsl

2002-11-16 Thread Alessio Sangalli
Perhaps it has already been discussed, but I didn't find any reference to this in the mail list archives. I wanted to check my code with the w3c validator; I get a fatal error because I didn't put the DOCTYPE thing at the beginning of the page. However I can't put it from inside xsl because I

Re: inserting doctype from xsl

2002-11-16 Thread Alessio Sangalli
Jeremy Quinn wrote: On Saturday, Nov 16, 2002, at 19:10 Europe/London, Alessio Sangalli wrote: Perhaps it has already been discussed, but I didn't find any reference to this in the mail list archives. Set it up in the relevant serializer in the map:components/map:serializers section

command line usage - FINALLY SOLVED

2002-11-14 Thread Alessio Sangalli
But not as I expected at the beginning. Instead it's much simpler to write all the url inside a file: $ cat url-list http://localhost:8080/cocoon/lirc/index.html http://localhost:8080/cocoon/lirc/tools.html http://localhost:8080/cocoon/lirc/parts.html

inserting comment in html

2002-11-14 Thread Alessio Sangalli
Hi, I'm using cocoon to generate static html for a plain webserver. However this server has a 'counter' which needs the following code inside the html: !--#exec cgi=/cgi-bin/counter.pl-- How can I insert such a string from an xsl trasformation? bye thank you as

Re: inserting comment in html

2002-11-14 Thread Alessio Sangalli
Upayavira wrote: #exec cgi=/cgi-bin/counter.pl should do it. perfect, thank you and sorry for such a stupid question. bye as - Please check that your question has not already been answered in the FAQ before posting.

Re: link rel=

2002-11-14 Thread Alessio Sangalli
Jeremy Quinn wrote: yours code is quite different than mine because I use a different approach: this is the xml data I Xinclude in all files: structure chaptertitleIndex/titlehrefindex.html/href/chapter chaptertitleTools/titlehreftools.html/href/chapter

Re: link rel=

2002-11-13 Thread Alessio Sangalli
Joerg Heinicke wrote: Hmm, what exactly do you mean? You request an XML page, but you don't see anything? Mozilla has no built-in stylesheet by default like IE. But you can see the source of the document (Ctrl + u). no, I mean when I reply an email like yours, containing a piece of xml code.

Re: Using Cocoon from the command

2002-11-13 Thread Alessio Sangalli
Darren Petrie wrote: Looks like you need to add more to your classpath. (logkit-20020529.jar) Try adding all the .jar files in cocoon/WEB-INF/lib to your classpath. I promise when I'll get this working I will prepare a website with the instructions, I thoutgh it would have been much

Re: Using Cocoon from the command

2002-11-13 Thread Alessio Sangalli
boris wrote: I had to put all this jar to the classpath to work with the cli, without java-errors. (win98) I think a sidemap with minimum components don't needs all that stuff to compile correctly. A good trick to look into the jar-files is to rename it to a zip-file and to open it with

Re: Using Cocoon from the command

2002-11-12 Thread Alessio Sangalli
Darren Petrie wrote: [alesan@valkyrie lib]$ pwd /home/alesan/java/jakarta-tomcat-4.1.12-LE-jdk14/webapps/cocoon/WEB-INF/lib [alesan@valkyrie lib]$ export CLASSPATH=.:/home/alesan/java/cocoon-2.0. .3/build/cocoon/classes/:avalon-framework-20020627.jar:avalon-excalibur-vm1 4-20020705.jar

Re: link rel=

2002-11-12 Thread Alessio Sangalli
Jeremy Quinn wrote: what I do to deal with this kind of thing is to have a menu.xml structure, that is imported into all my pages via CInclude, then xslt mh, I've never understood the difference between Xinclude and Cinclude... (having been provided with the 'id' of the page via the

Re: Using Cocoon from the command

2002-11-12 Thread Alessio Sangalli
Darren Petrie wrote: unfortunately, I've talked too early. Althought an invocation with a simple --help parameter works, when I try it with all the arguments: $ java org.apache.cocoon.Main -c ~/java/jakarta-tomcat-4.1.12-LE-jdk14/webapps -d ~/lirc/cocoon/ -w /tmp/ -l ~/lirc/cocoon-log.txt

Re: link rel=

2002-11-12 Thread Alessio Sangalli
Joerg Heinicke wrote: that's ok ;-) It was more a general statement than a need for the numbers. :) ok I wanted to be precise! Maybe it's an alternative to aggregate the XML source with the navigation XML. I don't understand this, could you explain? example of sitemap

Re: Using Cocoon from the command

2002-11-11 Thread Alessio Sangalli
Ugo Cei wrote: It SHOULD be possible to just unpack the cocoon.war file from the binary distribution, cd to WEB-INF/lib and run: java -jar cocoon-2.0.3.jar However, the Manifest in the JAR is wrong, since it contains: Class-Path: avalon-framework-4.1.2.jar avalon-excalibur-4.1.jar batik-

link rel=

2002-11-11 Thread Alessio Sangalli
Hi I've a little problem because I want to automatically generate the link header (if you use Mozilla, it's very useful, if you want to show it: menu - view - show-hide - site navigation toolbar - show [as needed]). Here is an example: link rel=home type=text/html title=How to build an IR

Using Cocoon from the command

2002-11-10 Thread Alessio Sangalli
For the first time in a year and a half I want to use Cocoon from the command line. I will be able to use the results in an environment without Cocoon or Java and I won't have to generate every time the data etc etc. I use Sun's JDK 1.4.1_01, Cocoon 2.0.3, on Linux. I've found at least of