cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Litrik De Roy" <cocoon-us...@litrik.com>
Subject Re: Xalan, xsl fucnction document(), caching ?
Date Fri, 23 Aug 2002 19:09:09 GMT
Hi,

I have improved performance by using an <xsl:variable> at the top of my xslt
and give it the value of document(...). Later on you just refer to the
variable.

Litrik De Roy
www.litrik.com


----- Original Message -----
From: "Andreas K├╝hne" <cocoon_addict@web.de>

> Hi Guys,
>
> > [..]
> > Does it means that identities.xsl is throwing a request to cocoon at
each
> > <xsl:value-of
> >
select="document('')/xsl:stylesheet/messages[@xml:lang=$lang]/message[@id=$i
> > d]"/> ? It could explains our big problem of performances.
> you guess right.
>
> > Does someone meet the problem ?
> > Is it a configuration of xalan by cocoon ?
> > (sorry if it's a xalan problem, I tryed to find an answer in xalan lists
> > also).
> It's a Xalan problem, it got a bugzilla id, but it's scheduled to be fixed
at dooms day ...
> In fact the result of document() are correct !!
>
> > Workaround to avoid the document() function (xinclude ...) is not a
solution
> > for us (messages in our case is presentation, not generation).
> Hmm. I can't understand why you can't include the content of the messages
file using map:aggregate. So you would replace document() with
'/content_of_messages_file' and live happily ever after ...
>



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