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
For local paths, you can use something like the following.
(I usually put all my Graphics in a 'Graphics' sub-folder,
and put xslt and css files together in a 'Style' sub-folder )

********************  quote from a sitemap **********************

<!-- for many file-types that are not caught already we
just serve them up.

They are graphics types, pdf, and cascading stylesheets -->
<map:match pattern="**.png">
<map:read src="Graphics/{1}.png" />
</map:match>

<map:match pattern="**.gif">
<map:read src="Graphics/{1}.gif" />
</map:match>

<map:match pattern="**.jpg">
<map:read src="Graphics/{1}.jpg" />
</map:match>

<map:match pattern="**.jpeg">
<map:read src="Graphics/{1}.jpeg" />
</map:match>


<map:match pattern="**.pdf">
<map:read src="PDF/{1}.pdf" />
</map:match>

<map:match pattern="**.css">
<map:read src="Style/{1}.css" />
</map:match>

********************  end quote *********************************


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]
For additional commands, e-mail: [email protected]

Reply via email to