commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yehui liu <liuye...@gmail.com>
Subject [Configuration] Is there a xpath like filter function in XMLConfiguration?
Date Tue, 01 Mar 2005 12:05:57 GMT
I mean something like this:

        property = conf.getProperty("list.item[@name=\"one\"]");
        assertEquals("one", property);     

        property = conf.getProperty("list.item[@name=\"one\"].element");

thx.

Liu yehui

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message