> From: icewind [mailto:[EMAIL PROTECTED]] > > I have two separate questions relating to > <map:aggregate> > > 1. I have a bunch of <map:part> tags within a > <map:aggregate> tag. Each xml file that is referenced > in the map:part tags contains lists of the full path > names to other xml files. (The whole purpose of this > thing is to make a list of links the user can click > on) The problem is, if for instance, one of the > filenames in one of the <map:part> files is > mis-spelled, the whole things will stop, and none of > the following map:part files will be processed. (A > mis-spelling causes this because I extract the > contents of a tag out of each xml file listed in each > of the <map:part> files. If it cant find a filename, > it just stops.) So, the question is how can I have > cocoon just skip over a file that it cant find and go > on to the next map:part gracefully?
See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10208 > 2. Is there anyway to say you want to aggregate all > the files in form file-x.xml where x is some number? > Or must you specify each part of an aggregation in the > sitemap? Yes. Combination of DirectoryGenerator, simple XSLT transformation (file - to - cinclude tag), and CInclude. Vadim --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>