cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomasz Muldner" <>
Subject accessing resources in sibling directories
Date Thu, 19 Dec 2002 20:03:37 GMT
I'm trying to modify an example of a gallery from the Cocoon book, and have
this directory structure:

Directory: mount
sub-directories:  photos   gallery
In the photos directory there are jpeg files (in the original example,
photos were in a subdirectory of "gallery").
In the gallery directory there is sitemap.xmap shown below.
When I use

the html file is generated, but it only contains "empty"  thumbnails, no
pictures. It appears that the reader is the second match is not executed.
<?xml version="1.0"?>

<map:sitemap xmlns:map="">



<map:match pattern="gallery">

<map:generate src="../photos" type="imagedirectory"/>

<map:transform src="gallery.xsl"/>

<map:serialize type="html"/>


<map:match pattern="../photos/**">

<map:read src="../photos/{1}"/>






gallery.xsl is included in this email.

Thank you


View raw message