Return-Path: Delivered-To: apmail-jakarta-velocity-user-archive@www.apache.org Received: (qmail 86048 invoked from network); 1 Jun 2004 14:52:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Jun 2004 14:52:33 -0000 Received: (qmail 42074 invoked by uid 500); 1 Jun 2004 14:52:34 -0000 Delivered-To: apmail-jakarta-velocity-user-archive@jakarta.apache.org Received: (qmail 42051 invoked by uid 500); 1 Jun 2004 14:52:34 -0000 Mailing-List: contact velocity-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Velocity Users List" Reply-To: "Velocity Users List" Delivered-To: mailing list velocity-user@jakarta.apache.org Received: (qmail 42036 invoked by uid 99); 1 Jun 2004 14:52:34 -0000 Received: from [137.195.13.6] (HELO izanami.macs.hw.ac.uk) (137.195.13.6) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 01 Jun 2004 07:52:34 -0700 Received: from lcxacooke.macs.hw.ac.uk ([137.195.27.104]) by izanami.macs.hw.ac.uk with esmtp (Exim 4.34) id 1BVAci-0007Ss-Rr for velocity-user@jakarta.apache.org; Tue, 01 Jun 2004 15:52:16 +0100 From: Andy Cooke Reply-To: ceeawc@macs.hw.ac.uk To: Velocity Users List In-Reply-To: <40B58AEF.1000108@recks.org> References: <1085344133.4163.14.camel@localhost.localdomain> <00ad01c441e2$326f5d30$6a05a8c0@zeus.esha.com> <1085501417.1414.495.camel@localhost.localdomain> <005f01c4427c$b68bce10$6e05a8c0@zeus.esha.com> <1085509384.1416.572.camel@localhost.localdomain> <008001c44293$d72e2d90$6e05a8c0@zeus.esha.com> <1085586182.1414.1908.camel@localhost.localdomain> <40B58AEF.1000108@recks.org> Message-Id: <1086099397.1720.76.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 01 Jun 2004 15:16:37 +0100 X-SA-Exim-Connect-IP: 137.195.27.104 X-SA-Exim-Mail-From: ceeawc@macs.hw.ac.uk Subject: Re: accessing $session when using VelocityLayoutServlet Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on izanami X-Spam-Level: X-Spam-Status: No, hits=0.0 required=7.0 tests=none autolearn=no version=2.63 X-SA-Exim-Version: 4.0 (built Thu, 13 May 2004 14:06:08 +0100) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Christoph, sorry not to reply earlier on. > if you are using velocity as the template engine, i suggest you consider > using anakia (with built in xpath support!) or siply JDOM + JXPath or > even any DOM parser and Jaxen or JXPath to do the XML query and retrieval > for the presentation layer. I've used it sucessfully to do online > transformations. > http://jakarta.apache.org/velocity/anakia.html I wasn't completely sure how anakia might help with on-the-fly xml manipulation/presentation, as it seems to be closely tied to ant - unless you mean running ant on the fly? > In the velocity area there is also DVSL - which is declarative as XSLT, > but currently (to my knowledge) it is a standalone application and is > tied to a specific DOM implementation. Thus not ready to integrate into > a servlet webapp. (Maybe you can take the challenge to change the model > to use plain DOM and JXpath?) > http://jakarta.apache.org/velocity/dvsl/index.html er, maybe. I took a brief look at the source code. Do you mean permanently replacing dom4j with dom in the code, or altering code so that there could be a choice of models? cheers, Andy --------------------------------------------------------------------- To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: velocity-user-help@jakarta.apache.org