by using the directory generator i got the result:
 
 <?xml version="1.0" encoding="ISO-8859-1" ?>
 <dir:directory name="test" lastModified="1135688164000" date="12/27/05 1:56 PM" size="0" sort="name" reverse="false" requested="true" xmlns:dir="http://apache.org/cocoon/directory/2.0">
  <dir:file name="A.xml" lastModified="1135774358000" date="12/28/05 1:52 PM" size="718" />
  <dir:file name="B.xml" lastModified="1135774358000" date="12/28/05 1:52 PM" size="718" />
  <dir:file name="C.xml" lastModified="1135774300000" date="12/28/05 1:51 PM" size="735" />
  </dir:directory>
 
Now I would like to aggregate A.xml, B.xml and C.xml and then do xslt transformation,,,say,,,
 
 <map:match pattern="ABC.html">
 <map:aggregate element="newroot">
  <map:part src=""/>
  <map:part src=""/>
  <map:part src=""/>
   </map:aggregate>
  <map:transform src=""/>
  <map:serialize type="html"/>
How do I perform this???
 
Please help me,,,
 
Rgds
Kavitha
 
 

Bertrand Delacretaz <[EMAIL PROTECTED]> wrote:
Le 27 déc. 05, à 14:22, kavitha ramesh a écrit :

> ...I have 3 xml files in a directory say A.xml,B.xml,C.xml.The names
> A, B, C changes into A1,B1,C1 after 5 minutes.And after 5 minutes it
> changes to A2,B2, C2 and so on...Now my sitemap looks like this,,,

Cocoo n's DirectoryGenerator allows you to list the contents of a
directory.

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

You can then filter the output to keep the names of the files that are
of interest to you, and generate an input document for the
CIncludeTransformer, which will get the file contents.

See http://cocoon.apache.org/2.1/userdocs/cinclude-transformer.html

-Bertrand


Yahoo! for Good - Make a difference this year.