Hi,

Did you setup a pipeline for serving the css file in your sitemap?
You have to add something like this:

<map:match pattern="internal/style/style-main.css">
        <map:read src="internal/style/style-main.css"/>
</map:match>

... or use *, ** and {1},{2} if you want it a little more general ;-)
Hope this helps

Chris

-----Ursprüngliche Nachricht-----
Von: Johannes Hoechstaedter [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 13. Juni 2008 11:46
An: [email protected]
Betreff: include css

Hi everybody,

it seems to be a never ending story for me. Why can't I access my css file?

My style works when I put it in <style> tags, but when I try to acces by 
a xsl file (transform.xsl), nothing happens.

My block structure is as follows:

/sitemap
/resource/internal/style/style-main.css
/resource/tranform.xsl

I have the following code in transform.xsl:

<html>
       
          <head>
                <title>Cocoon App - Test 1.0</title>
                <link rel="stylesheet" type="text/css" 
href="resource/internal/style/style-main.css" />
            </head>
             
          <body>
.....

Can you help me? I have already tried an absolute path, but this doesn't 
work, too, this time. I am able to access it absolute by the browser.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to