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 61051 invoked from network); 28 Jan 2000 12:35:38 -0000 Received: from unknown (HELO ns.spectral.se) (root@212.28.195.34) by 63.211.145.10 with SMTP; 28 Jan 2000 12:35:38 -0000 Received: from spectral.se (barnes.spectral.se [212.28.195.86]) by ns.spectral.se (8.9.3/8.8.7) with ESMTP id NAA22214 for ; Fri, 28 Jan 2000 13:41:03 +0100 Message-ID: <3890E481.B7FB4EDD@spectral.se> Date: Fri, 28 Jan 2000 01:36:17 +0100 From: Mats =?iso-8859-1?Q?Nor=E9n?= X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: Re: XSP troubles References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Well, the stylesheet do exist in the same catalog as the xml-file. Cocoon can, depending on the browser type, serve different pages to different browsers. In the Cocoon.properties file you have a list of browsers.. I have tried different XSP-pages and some of them work some don't. The basic hello world example works great...but the more advanced ones doesn't...instead I get the no matching stylesheet for: ....message. The file I tried to execute was called page.xml and Cocoon tells me that there is no matching stylesheet for: netscape.. So I don't think that it is a question of not locating the original stylesheet.. Ideas anyone ? /Mats Mike Engelhart wrote: > Mats Nor�n wrote: > > > When I try to display the XSP-samples I get the following error: > > > > org.apache.cocoon.processor.ProcessorException: Could not associate > > stylesheet to document: no matching stylesheet for: netscape > > > > > How do I turn the media checking off...I cant find it anywhere...if I > > remove netscape from the propertyfile I get the same error message but > > instead of no matching stylesheet for: netscape, I get: no matching > > stylesheet for: unknown... > > > > Can anyone help me with this ? > > > > /Mats > > > The problem is that Cocoon can't find the XSL style sheet associated with > the XSP page. Look to make sure there is a "hello-page-html.xsl" in the > same directory as the "hello-page.xml". > > I'm not sure what you mean by media checking so I don't know what turning it > on or off does.. > > Mike > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > For additional commands, e-mail: cocoon-users-help@xml.apache.org