cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From morten svanæs <mor...@web-som-virker.no>
Subject relative paths
Date Fri, 23 May 2003 21:53:26 GMT
Hi,

I'm trying to get a css file loaded from a relative path inside a xslt file like this:

    <link href="stylesheets/main.css" type="text/css" rel="stylesheet"/>

the sitemap is in:
/cocoon/foo/bar

the sitemap loads the xslt file like this:
<map:transform src="stylesheets/page2html.xsl">

But this don't work, so my question is: what is the root of the html document 
served after the xslt transformation ? 
In other examples I see that contextPath is used,  but I don't understand where 
it's defined and what it's value is. 

Any clarification would be appreciated.

Best regards 
Morten Svanæs
www.web-som-virker.no


Mime
View raw message