cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magnus Haraldsen Amundsen" <>
Subject Cocoon 2.2: Accessing resources (images, css)
Date Wed, 26 Mar 2008 10:59:27 GMT


We have a web app where the images and stylesheets are defined in the
pipeline as this:


<map:match pattern="images/*.gif">

  <map:read src="resources/images/{1}.gif" mime-type="image/gif"/>



In our XSLT we use the following syntax to display the images:


<img alt="header logo" src="images/header.gif"/>


And this works just fine when the url is like this:


However, when the url look like this:


The images and stylesheets aren't accessed. How can this be solved?

Both the example URLs use the same XSLT to be transformed.


- Magnus

This message may contain confidential information. 
If you have received this e-mail in error, do not use, copy or 
distribute it. Do not open any attachments. Delete it immediately from
your system and notify the sender promptly by e-mail that you 
have done so. Thank you.

View raw message