Chris,

Do you have a pipeline matching to css in your sitemap? It should be like
this:
   <map:match pattern="*.css">
     <map:read src="{1}.css" mime-type="text/css"/>
   </map:match>

Roman

Christoph Stocker wrote:

> i already tried this.
>
> it doesn't work - and i don't know why??
>
>  mfg,
> -------------------------------------------
>  Christoph Stocker
>  Pramergasse 29/14, 1090 Wien, Austria
>  mobile  +43-699-1722 5506
>  e-mail  [EMAIL PROTECTED]
> -------------------------------------------
>
> -----Original Message-----
> From: Atul Gulve [mailto:[EMAIL PROTECTED]]
> Sent: Dienstag, 28. Mai 2002 14:29
> To: [EMAIL PROTECTED]
> Subject: RE: relative path
>
> Instead of using <xsl:variable..../>, why don't you use something like
> this?
>
> <link rel="stylesheet" href="../css/general.css"/>
>
> atul
>
> From: "Christoph Stocker" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: <[EMAIL PROTECTED]>
> Subject: RE: relative path
> Date: Tue, 28 May 2002 14:05:53 +0200
>
> ok, thats it - thanks!
>
> but i have the same problem with the following:
>
> <xsl:variable name="stylesheet3" select="'D:/Develop/Apache Tomcat
> 4.0/webapps/cocoon/onlinereg/css/home.css'"/>
>
>   mfg,
> -------------------------------------------
>   Christoph Stocker
>   Pramergasse 29/14, 1090 Wien, Austria
>   mobile  +43-699-1722 5506
>   e-mail  [EMAIL PROTECTED]
> -------------------------------------------
>
> -----Original Message-----
> From: Atul Gulve [mailto:[EMAIL PROTECTED]]
> Sent: Dienstag, 28. Mai 2002 13:58
> To: [EMAIL PROTECTED]
> Subject: Re: relative path
>
> Hi
>
> Have you checked with
>
> <xsl:import href="elements.xsl"/>
>
> It works. You can give relative paths.
>
> Atul
>
> From: "Christoph Stocker" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: <[EMAIL PROTECTED]>
> Subject: relative path
> Date: Tue, 28 May 2002 13:39:55 +0200
>
> hi!
>
> i use: cocoon 2.0.2 on winXP and tomcat 4.0.1
>
> i have a stylesheet in cocoon which refers to other styleseets like -->
> <xsl:import href="D:/Develop/Apache Tomcat
> 4.0/webapps/cocoon/onlinereg/elements.xsl"/>
>
> now i want to run it on a server and have the problem of absolute
> pathes. how do i set there a relative path to my elements.xsl?
>
> i tried such things like: <xsl:import href="./elements.xsl"/> , but it
> doesn't work.
>
> THANKS
> greetings, chris
>
> ---------------------------------------------------------------------
> 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]>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
> ---------------------------------------------------------------------
> 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]>
>
> ---------------------------------------------------------------------
> 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]>
>
> _________________________________________________________________
> Join the world's largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>
> ---------------------------------------------------------------------
> 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]>
>
> ---------------------------------------------------------------------
> 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]>


---------------------------------------------------------------------
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]>

Reply via email to