Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 73981 invoked by uid 500); 30 Aug 2002 12:30:49 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 73970 invoked from network); 30 Aug 2002 12:30:48 -0000 Message-ID: <01dc01c25021$1070b580$9b7ba8c0@FRANKLIN> From: =?iso-8859-1?Q?Fr=E9d=E9ric_Glorieux?= To: References: <036501c24a88$00144010$7d7ba8c0@FRANKLIN> <3D663530.20906@verizon.net> <3D669CE1.4070504@yahoo.de> <3D67A7BB.2010003@verizon.net> Subject: Re: Xalan, xsl fucnction document(), caching ? Date: Fri, 30 Aug 2002 14:30:45 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thank you all, Some replies on different points > I have improved performance by using an at the top of my xslt > and give it the value of document(...). Later on you just refer to the > variable. > 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 !! I'm working with a top variable in xsl. I thought that it was in XSL spec that an XSLT processor have to cache the content. > Why don't you use saxon then? We need to migrate on cocoon2.03 to use Saxon, now everything seems to be correct in core.log. But Saxon is more on matching, careful with your priorities in templates. > Have you read this FAQ? http://xml.apache.org/cocoon/faq/faq-xslt.html#faq-6 >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 ... We understand the good practice with xsp but look at this example: I've got a complex xsp (logicsheet generated) wich agregate all my datas. Displaying theese datas could need : different static set of messages to localize on params dynamic lists in case of edition ... On an xsp working correctly and already compiled, it's probably better to use document() function to get other infos wich are not part of the document to show, to navigate, or to edit. More discussions on theese points could begin on another thread. --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: