Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 24242 invoked by uid 98); 27 Jan 2003 21:39:33 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Received: (qmail 24223 invoked from network); 27 Jan 2003 21:39:31 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 27 Jan 2003 21:39:31 -0000 Received: (qmail 5294 invoked by uid 500); 27 Jan 2003 21:38:01 -0000 Received: (qmail 5287 invoked from network); 27 Jan 2003 21:38:00 -0000 Received: from cobra.ecnetwork.co.nz (202.135.116.44) by daedalus.apache.org with SMTP; 27 Jan 2003 21:38:00 -0000 Received: from serpent.ecnetwork.co.nz (serpent [202.135.190.10]) by cobra.ecnetwork.co.nz (8.11.4/8.11.3) with SMTP id h0RLjKj00397 for ; Tue, 28 Jan 2003 10:45:20 +1300 Received: (qmail 32093 invoked by uid 0); 27 Jan 2003 21:39:47 -0000 Received: from pcsimon.ecnnz.ecnetwork.co.nz (202.135.190.44) by serpent.ecnetwork.co.nz with SMTP; 27 Jan 2003 21:39:47 -0000 Subject: Re: Vague Digester Question From: Simon Kitching To: me@howardmiller.co.uk Cc: commons-user@jakarta.apache.org In-Reply-To: <3e2fc3c4.7193.0@mail.uk2.net> References: <3e2fc3c4.7193.0@mail.uk2.net> Content-Type: text/plain Organization: Message-Id: <1043703215.2163.18.camel@PCSIMON.ecnnz.ecnetwork.co.nz> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 28 Jan 2003 10:33:35 +1300 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Howard, You state that "the paths are now unpredictable", but it doesn't seem so to me from your example. You just have an extra couple of patterns /root/page (as before) /root/test (new pattern) /root/test/page (new pattern) If this is the case, Digester should still work fine. The solution will be a little more complicated but not excessively so... Regards, Simon On Thu, 2003-01-23 at 23:28, Howard Miller wrote: > Hi, > > This might be a little off topic... sorry in advance > > I have an application that (using struts) displays a series of simple forms > in a web application. The forms are defined using an xml file parsed by Digester. > It looks like > > > > ... stuff for this page.. > > > .. stuff for the next page > > .. and so on > > > this works fine. But things have got more complex and I now need to be able > to put tests around the pages and possibly within the pages. This will be arbitrary. > so for example.. > > > ..... > > ... > ... > > ...some fixed stuff... > > ...conditional part of page > > > > this seems a whole different ball game! I'm really asking if Digester is up > to the job as the "paths" are now very unpredictable. I have had a look at using > straight DOM, but this is going to be a nightmare to develop the tree-walking > algorithm. > > Any thoughts greatly appreciated. > > Howard Miller > http://uk2.net > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > >