cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <DHo...@csir.co.za>
Subject Pattern matching for static resources
Date Wed, 08 Sep 2004 11:14:32 GMT
Please help with a simple match that I cannot get
to work...

in HTML I will have:

src="/dir1/dir2/dir3/resources/custom/images/icon.gif"
or
src="dir2/dir3/resources/custom/images/icon.gif"
or
src="dir3/resources/custom/images/icon.gif"

I need all of these to match to the same file in
the same location - but when I try:

    <map:match pattern="**/resources/custom/**.gif">
      <map:read mime-type="image/gif"
src="resources/actual-dir/{2}.gif"/>
    </map:match>

The image, which can be found in:
resources/actual-dir/images/icon.gif
does not appear...

What is the correct pattern?

Thanks
Derek

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message