Ben,
You're very much on the right track. You just need to make sure that the URL that the
images are referred to in your XHTML are matched by the <map:match> node, and
then that you have pointed at the correct files on the filesystem. So just check that
everything fits. For example, are your images and stuff in 'styles'?
Oh, and I've just spotted, set the mime-type for *.gif to image/gif, not text/css!!!
Regards, Upayavira
On 8 Aug 2003 at 1:39, Ben Munat wrote:
> Hello. I'm very new to Cocoon... wobbling along. At this point I'm
> just trying to get Cocoon to serve an xml file transformed to xhtml
> with an xslt. Well actually, I did get it to serve the file. However,
> the resulting page has a link to an image and a css file and those are
> not coming through.
>
> I have the Cocoon Developer's Handbook and it seems to indicate that I
> need to do this in my subsitemap:
>
> <map:pipeline>
> <map:match pattern="**/*.css">
> <map:read mime-type="text/css" src="style/{2}.css"/>
> </map:match>
> </map:pipeline>
>
> <map:pipeline>
> <map:match pattern="**/*.gif">
> <map:read mime-type="text/css" src="style/{2}.css"/>
> </map:match>
> </map:pipeline>
>
> However, that hasn't solved the problem. Anyone have any idea what I'm
> missing? I do need to have these pipelines in my sitemap so that pages
> can find their images and stylesheets, right?
>
> Thanks in advance,
>
> Ben Munat
>
>
> ---------------------------------------------------------------------
> 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]