cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frey, David" <DF...@nationaljournal.com>
Subject Re: Generate via Multiple Documents
Date Wed, 11 May 2005 16:47:09 GMT
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" <gaich@iicm.tu-graz.ac.at> 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: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 


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


Mime
View raw message