Oh dear god,
I thought it was something silly.

I got it to work, sorry for bothering you. I forgot the folder is called
resource instead of resources

Thanks for your efforts anyway!

On Wed, Apr 29, 2009 at 12:02 PM, Yet another person <
[email protected]> wrote:

> like this?
>         <map:pipeline id="stylesheet">
> <map:match pattern="*.css">
> <map:read src="resources/internal/Stylesheets/{1}.css" type="file" />
> </map:match>
>         </map:pipeline>
>
> didn't work either
>
> On Wed, Apr 29, 2009 at 12:00 PM, Jeroen Reijn <[email protected]>wrote:
>
>> This probably won't work, since a generate is to generate from for
>> instance an XML file, not a static resource. What you actually want to do is
>> use a reader (map:read).
>>
>> Regards,
>>
>> Jeroen
>>
>> Yet another person wrote:
>>
>>> I made the following match in my pipeline:
>>>
>>>  <map:pipeline id="stylesheet">
>>> <map:match pattern="*.css">
>>> <map:generate src="resources/internal/Stylesheets/{1}.css" type="file" />
>>> <map:serialize type="text" />
>>> </map:match>
>>> and my stylesheet pointed to the css like this:
>>>
>>> <link rel="stylesheet" type="text/css" href="Main.css" />
>>>
>>> On Wed, Apr 29, 2009 at 11:48 AM, Jeroen Reijn <[email protected]<mailto:
>>> [email protected]>> wrote:
>>>
>>>    Hi,
>>>
>>>    your css file will be requested as a browser request, so you will
>>>    have to make sure you have a matcher in your sitemap that handles
>>>    this request.
>>>
>>>    What did not work when you tried that?
>>>
>>>    Regards,
>>>
>>>    Jeroen
>>>
>>>
>>>    Yet another person wrote:
>>>
>>>        I've been trying to use a css stylesheet in my xsl
>>>        transformation but It doesn't come through.
>>>
>>>        It seems cocoon doesn't understand relative paths nor does it
>>>        understand resource/internal/stylesheets/file.css or any other
>>>        link i've tried.
>>>
>>>        I even made a pipeline to match the css from my sitemap but that
>>>        didn't work either.
>>>
>>>        It's probably something silly but I can't seem to find it - any
>>>        help would be greatly appreciated
>>>
>>>
>>>
>>>        Thanks in advance!
>>>
>>>
>>>    ---------------------------------------------------------------------
>>>    To unsubscribe, e-mail: [email protected]
>>>    <mailto:[email protected]>
>>>    For additional commands, e-mail: [email protected]
>>>    <mailto:[email protected]>
>>>
>>>
>>>
>

Reply via email to