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—

Reply via email to