Hello,
I've got a problem
with the CSS file in my Cocoon generated pages.
The goal of the
sitemap is making a listing of directory and subdirectory.
When the browser ask
the first page (first xsl) the css file is applied.
For the other pages
ans the next requests the css file is not apply.The browser ask the listing of
the subdirectory, in this case
"publications/Publication3_PDF"
In the xsl
stylesheets, I include the css :
<xsl:param name="cssfile"/>
...
<link
rel="stylesheet" href=""
mime-type="text/css"/>
In the sitemap, I
have a reader for the css like this :
<map:match
pattern="*.css">
<map:read src=""file:///C:/Serveurs_INJAC/Tomcat-5.0.18/webapps/cocoon/injac/stylesheets/css/%7B1%7D.css">file://C:/Serveurs_INJAC/Tomcat-5.0.18/webapps/cocoon/injac/stylesheets/css/{1}.css" mime-type="text/css"/>
<map:read src=""file:///C:/Serveurs_INJAC/Tomcat-5.0.18/webapps/cocoon/injac/stylesheets/css/%7B1%7D.css">file://C:/Serveurs_INJAC/Tomcat-5.0.18/webapps/cocoon/injac/stylesheets/css/{1}.css" mime-type="text/css"/>
</map:match>
The xsl file is
aproximativle the same than the first, at least for the link on the
css.
I don't understand
why the css is not apllied.
I try other solution
using the 'context' or 'cocoon' but the problem is the same, if it's right, the
solution is not generic for all subdirectory because it's applied to a specific
context who's changing.
Thank you in advance
for your answer
---------------------------------------------------
St�phane
MESTRE
ENSEEIHT
---------------------------------------------------
