Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 79852 invoked from network); 3 Sep 2003 13:38:57 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 3 Sep 2003 13:38:57 -0000 Received: (qmail 69282 invoked by uid 500); 3 Sep 2003 13:36:19 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 69169 invoked by uid 500); 3 Sep 2003 13:36:17 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 69024 invoked from network); 3 Sep 2003 13:36:15 -0000 Received: from unknown (HELO mserv.UGent.be) (157.193.40.40) by daedalus.apache.org with SMTP; 3 Sep 2003 13:36:15 -0000 Received: from tarzan.ugent.be (tarzan.ugent.be [157.193.40.45]) by mserv.UGent.be (8.12.9/8.12.9) with ESMTP id h83DaCRP011749 for ; Wed, 3 Sep 2003 15:36:12 +0200 (MEST) Received: from localhost (localhost [127.0.0.1]) by tarzan.ugent.be (Postfix) with ESMTP id CD1AC69FC5 for ; Wed, 3 Sep 2003 15:37:09 +0200 (CEST) Received: from tarzan.ugent.be ([127.0.0.1]) by localhost (tarzan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20740-04 for ; Wed, 3 Sep 2003 15:37:09 +0200 (CEST) Received: from allserv.UGent.be (allserv.ugent.be [157.193.40.42]) by tarzan.ugent.be (Postfix) with ESMTP id 1AA8669FB4 for ; Wed, 3 Sep 2003 15:37:04 +0200 (CEST) Received: from otsrv1.iic.rug.ac.be (otsrv1.iic.ugent.be [157.193.121.51]) by allserv.UGent.be (8.12.8/8.12.8) with ESMTP id h83Da6iJ028666 for ; Wed, 3 Sep 2003 15:36:06 +0200 (MEST) Received: from yum.ot (host100 [192.168.123.100]) by otsrv1.iic.rug.ac.be (8.11.6/8.11.6) with ESMTP id h83Da6x01109 for ; Wed, 3 Sep 2003 15:36:06 +0200 Subject: JXTemplate: execution of Nodes resulting from JXPath expressions From: Bruno Dumon To: dev@cocoon.apache.org Content-Type: text/plain Organization: Outerthought Message-Id: <1062595899.28155.25.camel@yum.ot> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Wed, 03 Sep 2003 15:31:39 +0200 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by UGent DICT X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I'm using JXTemplateGenerator (very nice stuff BTW), and remarked that if the result of an expression is a org.w3c.dom.Node, it will again be "executed", i.e. parsed as a JXTemplate and interpreted. I'd like to be able to disable this behaviour, on the one hand because the data might contain sequences like #{...} that should not be interpreted as expressions, and on the other hand because of performance considerations. I first thought of adding an attribute to the jx:out element (where I need it) to disable this, but it could as well be global parameter supplied to the generator (a map:parameter in the sitemap). But I'm also wondering if this recursive execution of retrieved DOM-data has any use-case at all, and could maybe be disabled completely? -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center bruno@outerthought.org bruno@apache.org