Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 75021 invoked from network); 12 Feb 2004 12:13:26 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 12 Feb 2004 12:13:26 -0000 Received: (qmail 50062 invoked by uid 500); 12 Feb 2004 12:13:20 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 50003 invoked by uid 500); 12 Feb 2004 12:13:19 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 49985 invoked from network); 12 Feb 2004 12:13:19 -0000 Received: from unknown (HELO hqexch01.upstate.com) (205.160.101.145) by daedalus.apache.org with SMTP; 12 Feb 2004 12:13:19 -0000 Received: from IQUITOS (ciaranlaptop.ltd.upstate.com [172.17.1.104]) by hqexch01.upstate.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 1YJKY8HP; Thu, 12 Feb 2004 07:15:00 -0500 Reply-To: From: "Eric Pugh" To: "'Jakarta Commons Developers List'" Subject: RE: [configuration][digester] Other XML file formats... Date: Thu, 12 Feb 2004 13:13:16 +0100 Message-ID: <003c01c3f161$999582e0$657ba8c0@IQUITOS> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <402A7A00.4090901@latte.harvard.edu> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 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 Not that I know of.. It does seem like Configuration needs some sort of more expressive/pluggable way of doing this.. Some challenges I can see would be funny rules like type/key/value are all in order.. Versus type/value/key or something.. A couple people have been asking for xpath type queires... Eric > -----Original Message----- > From: Mark R. Diggory [mailto:mdiggory@latte.harvard.edu] > Sent: Wednesday, February 11, 2004 7:53 PM > To: Jakarta Commons Developers List > Subject: [configuration][digester] Other XML file formats... > > > I have an XML config file format I'm trying to read into > Configurator or > Digester which is not the standard format expected (and which > I cannot > change), it looks like: > > > > > > > > > which I'd like to get handled as > value = user_config.. or value = user_config.[] > > my ultimate goal is to plug it into the tomcat JNDI Resources as to > attain something more like this in the long run: > > Context ctx = new InitialContext(); > ctx.lookup("java:comp/env/userconfig// > > Is there a quick way I can get to this format using using digester or > configuration? > > thx, > Mark > > -- > Mark Diggory > Software Developer > Harvard MIT Data Center > http://www.hmdc.harvard.edu > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-dev-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org