Re: Efficient aggregation

2002-09-05 Thread Martin Lüthi
Thank you for your hint. I just tried out XPathDirectoryGenerator (scratchpad) which essentially does what I need, but is a lot less messy than my initial approach. However, also these results seem not to get cached... Presumably I should save the result with something like a SourceWritingTransfor

Re: Efficient aggregation

2002-09-05 Thread Nick Airey
After 1 minute of looking, it seems that the DirectoryGenerator is not cacheable. So it is going to re-read the directory every time you hit the pipeline. Your Xincluded pieces might be cacheable, however. For instance, the FileGenerator *is* cacheable (if you are using it). If you can live wi

Re: Efficient aggregation

2002-09-05 Thread Bruno Dumon
On Thu, 2002-09-05 at 10:37, Martin Lüthi wrote: > Dear Cocooners > > I wonder what would be the most efficient aggregation of many small xml > documents in a directory. My present approach is very slow: > > 1. use directory-generator to make an index of documents > 2. generate a document contai

Re: Efficient aggregation

2002-09-05 Thread Bertrand Delacretaz
On Thursday 05 September 2002 11:21, Martin Lüthi wrote: > I > want to aggregate all files in a directory, which is not possible with > afaik. You'll have to use CInclude or XInclude for this, along with a DirectoryGenerator to get the list of files. -- Bertrand Delacrétaz (codeconsult.ch, j

Re: Efficient aggregation

2002-09-05 Thread Martin Lüthi
"u15603" <[EMAIL PROTECTED]> writes: > have you ever use the inside the sitemap? It is easy to > handle! Well, with you have to know the names of the files, but I want to aggregate all files in a directory, which is not possible with afaik. Thanks Martin -- Martin Lüthi [E

Re: Efficient aggregation

2002-09-05 Thread u15603
Hello Martin, have you ever use the inside the sitemap? It is easy to handle! dirk >Dear Cocooners > >I wonder what would be the most efficient aggregation of many small xml >documents in a directory. My present approach is very slow: > >1. use directory-generator to make an index of document