Thank you Gerald.  

So if I understand this correctly, I can add an 'xpath' parameter to the
generator in the pipeline.  The value of the 'xpath' parameter will be an
xpath expression to search for in each of the files of the specified
directory.  The matching elements will then be generated into another
document?

Is this correct?

Thanks again!
David


On 5/11/05 12:32 PM, "Gerald Aichholzer" <[EMAIL PROTECTED]> wrote:

> Hello David,
> 
> Frey, David wrote:
>> 
>> I'm fairly new to Cocoon, using it for about the past 3 months. And am not
>> sure where to start with the following problem:
>> 
>> -I need Cocoon to find all the xml based files in a directory.  All of these
>> xml based files will be the same in format with differences in content.
>> 
>> -Cocoon will then need to strip a title element out of each page and in
>> effect build another xml document who's content will only be the title
>> element from each of these documents.
>> 
>> So what would be the best way to solve this problem, any help would be
>> greatly appreciated.
>> 
> 
> have a look at the XPathDirectoryGenerator - I think it meets your
> requirements perfectly.
> 
> HTH,
> Gerald
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to