On Mon, Jan 14, 2002 at 08:46:29AM +0100, Alexis Agahi wrote: > Jeff Turner wrote: > > > > On Sun, Jan 13, 2002 at 07:23:13PM -0500, Prasanna > Uppaladadium wrote: > > > Hello. > > > > > > I am mostly a lurker on this list. I have a question about the > > > Configuration API in the Avalon Framework project. The > Javadoc for the > > > class org.apache.framework.configuration.Configuration talks > about > > > providing an XPath like addressing mechanism for accessing > child nodes > > > in a later release. Has there been any progress on this front? > > > > Er no.. it was just an idea I had while writing the javadocs :) It > > should be relatively simple to implement, if you'd like to > have a go. > > how about JAXEN ? > http://www.jaxen.org
We only need a tiny subset of XPath, I think. My main use-case was where you have: <objects> <object name="flibble" value="1"/> <object name="blarg" value="2"/> ... </object> It would be nice if one could say: conf.getNode("/objects/object[@name="flibble"]/@value"); I can't think of any more complicated common real-world scenario, but then I'm not very imaginative:) --Jeff > -- > Al > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>