cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Atul Gulve" <atu...@hotmail.com>
Subject RE: relative path
Date Tue, 28 May 2002 12:29:21 GMT

Instead of using <xsl:variable..../>, why don't you use something like this?

<link rel="stylesheet" href="../css/general.css"/>

atul




From: "Christoph Stocker" <chris.stocker@gmx.at>
Reply-To: cocoon-users@xml.apache.org
To: <cocoon-users@xml.apache.org>
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  chris.stocker@gmx.at
-------------------------------------------


-----Original Message-----
From: Atul Gulve [mailto:atulsg@hotmail.com]
Sent: Dienstag, 28. Mai 2002 13:58
To: cocoon-users@xml.apache.org
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" <chris.stocker@gmx.at>
Reply-To: cocoon-users@xml.apache.org
To: <cocoon-users@xml.apache.org>
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>



_________________________________________________________________
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>



---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>



_________________________________________________________________
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message