cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <>
Subject File checking in the sitemap
Date Thu, 08 Sep 2005 09:18:32 GMT
I have a simple(?) use case: I would like to be able to
check, in the sitemap, whether or not a file exists (in a
directory), and then read that file from disc, or, if it
does not exist, carry out another option (prob. call 
another internal pipeline, which will create a new 
stream of data).

I am sure this is not that hard, but was wondering if 
anyone had already tried something like this and could 
give me a few pointers on "how to". If at all possible, I do
not want to have to create a new generator or transformer
to do this... a solution making use of existing functionality
would be optimal!

Thanks in advance

This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
CSIR E-mail Legal Notice 
CSIR Copyright, Terms and Conditions 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to

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:
For additional commands, e-mail:

View raw message