How embarrassing. Stefan, your post landed in my inbox in the middle
of a pile of posts to the Cocoon users' list, and I replied to this
thinking it was a Cocoon question!
Sorry for any confusion...
—ml—
On Dec 14, 2005, at 4:39 PM, Mark Lundquist wrote:
On Dec 14, 2005, at 3:00 PM, Stefan Undorf wrote:
is it possible to generate a file only if a file with the same name
is not
already present?
Something like this?
<map:select type="resource-exists">
<map:when test="path/to/{1}">
<map:generate type="file" src="path/to/{1}"
</map:when>
<map:otherwise>
<!-- whatever! -->
</map:otherwise>
</map:select>
cheers,
—ml—