Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 33047 invoked from network); 3 Jul 2000 13:41:14 -0000 Received: from max5.rrze.uni-erlangen.de (root@131.188.3.50) by locus.apache.org with SMTP; 3 Jul 2000 13:41:14 -0000 Received: from [131.188.190.130] by max5.rrze.uni-erlangen.de with ESMTP for cocoon-users@xml.apache.org; Mon, 3 Jul 2000 15:40:33 +0200 Sender: mac@max5.rrze.uni-erlangen.de Message-Id: <3960980A.1FDC98C8@phil.uni-erlangen.de> Date: Mon, 03 Jul 2000 15:41:30 +0200 From: Mac Schwarz Reply-To: mcschwar@phil.uni-erlangen.de Organization: FAU Erlangen-Nuernberg X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.8 i86pc) X-Accept-Language: de, de-DE, en MIME-Version: 1.0 To: cocoon users list Subject: Cocoon, XSL and CSS Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi, I just can't figure out how to include CSS stylesheets with XSLT. After playing around with my own files I tested the jakarta.apache.org example in xml-cocoon/samples/sites/jakarta.apache.org from the Cocoon CVS since I thought that would work well. I'm using tomcat 3.1, Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-beta) and a Cocoon2 CVS checkout from yesterday on Solaris 8 x86. I've got an tomcat context /cocoon with the docbaes tomcat/webapps/cocoon and can access the welcome page or the Simple XSP page for example. From the Cocoon CVS tree I copied the files index-page.xml, page-html.xsl and style.css from xml-cocoon/samples/sites/jakarta.apache.org into the cocoon context. After setting up the sitemap for the index-page.xml I get the error 'Cocoon 2.0: Not Found' 'The requested URI "/cocoon/style.css" was not found.' if I try to access the page. Additional to the error messages above there's a 'PATH_INFO="/style.css"' comment in the source of the error page. After removing the line in page-html.xsl the index-page.xml is displayed properly. Unfortunately I haven't found any working example yet. However if I use a stylesheet from my apache server e.g. the CSS is prosessed. Any hints how to include the CSS correctly in a XSL with Cocoon? Regards, mac -- Mac Schwarz / AERIA Projekt / Inst. f. Klassische Archaeologie e-mail: mac@aeria.phil.uni-erlangen.de / Tel.: 09131-85-24791 FAU Erlangen-Nuernberg / Kochstr.4 / 91054 Erlangen