cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex McLintock <a...@OWAL.co.uk>
Subject Re: Aggregation of xml in a directory
Date Sat, 12 Oct 2002 16:59:40 GMT

>Alex McLintock wrote:
>>I am trying to figure out how to get Cocoon to display all the xml files 
>>in a directory without being explicitly told each of their names in the 
>>sitemap.
>>I guess I need a combination of the Directory Generator and the 
>>Aggregation tools.
At 14:34 12/10/02, Steven Noels wrote:
>Better: combine the DirectoryGenerator with the CInclude Transformer.


Thanks for the suggestion Steven. What I have done is to write a perl 
script which I run whenever the xml files are updated. This generates an 
XML file which includes all the others in the directory. So in the end I 
don't use DirectoryGenerator or Aggregation in Cocoon - but CInclude works 
fine.

(I better figure out CachingCInclude too.)

Alex





Openweb Analysts Ltd, London.
Software For Complex Websites http://www.OWAL.co.uk/
Open Source Software Companies please register here 
http://www.OWAL.co.uk/oss_support/


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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


Mime
View raw message