Re: How to include all the xmls from a directory as generators in a pipeline?

Michael Wechner <[email protected]>
Newsgroups gmane.comp.cms.lenya.user
Message-ID <[email protected]>
sac sha wrote:
> Hi All
>
> I want to implement a functionality similar to showing the user list
> in admin section of Lenya.
>
> I have some user created whose information is stored in their
> individual file for example .iml files in lenya to store user info.
>
> I want to display a particular info from all the xmls as list on a
> page. Is there any way by which I can include all the xmls in a
> directory into my pipeline?
>   

you might want to use the DirectoryGenerator

http://cocoon.apache.org/2.1/userdocs/directory-generator.html

or the XPath DirectoryGenerator

http://cocoon.apache.org/2.1/userdocs/xpathdirectory-generator.html

HTH

Michael
> I am using Lenya 2.0.
>
> TIA
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.