cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From icewind <icewi...@yahoo.com>
Subject Re: xinclude performance issues,
Date Mon, 20 Jan 2003 22:02:52 GMT
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 <jefft@apache.org> 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:    
> <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:  
> <cocoon-users-help@xml.apache.org>
> 


__________________________________________________
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message