I tried the XPathDirectory generator. It seems like
using it will improve performance, but I don't think
the performance boost will be enough. It was
originally taking around 14 seconds to process the
process around 30 XML files. With the XPathDirectory
generator, it takes around 7 seconds. However, I am
just running the generator and then serializing to xml
without doing a transformation to HTML in between.

The example URL Jeff Turner supplied in his post to
the list suggesting I look into
XPathDirectoryGenerator seems like it is quite
responsive indeed. However, I think the XML files I am
processing are substantially larger than the ones at
that URL. I also need to pull out multiple nodes (at
least 4).

So, I think I'm going to look into writing a
DirectoryAggregator as suggested by Christoph Gaffga
unless anyone else has any ideas...



--- Jeff Turner <[EMAIL PROTECTED]> wrote:
> On Thu, Jan 16, 2003 at 03:11:37PM -0800, icewind
> wrote:
> > Let me describe what I am doing:
> > 
> > I have a directory that contains .xml files. In my
> > sitemap, I have a pipeline that starts with a
> > DirectoryGenerator on this directory. I then have
> a
> > transformation that takes the directorygenerator's
> > output and puts some xi:include tags with
> xpointers to
> > some tags in the xml files I am interested in. I
> then
> > run the xinclude transformation and serialize to
> html.
> 
> You could try the XPathDirectoryGenerator in Cocoon
> CVS.  It lets you
> specify nodes in each file to include in the
> directory listing.  For
> instance, to generate a page listing Ant scripts and
> their
> <description>s:
> 
> http://aft.sourceforge.net/examples/index.html
> 
> I used:
> 
> <map:generate type="xpathdirectory"
>   
> src="content/xdocs/examples#/project/description"/>
> 
> 
> --Jeff
> 
>
---------------------------------------------------------------------
> 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]>
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
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]>

Reply via email to