On Mon, 30 Jul 2001, Incze Lajos wrote: > > ... etc. Ithink that in digester it would be a good idea to change the > JSP-ish matching rules to XPATH expressions. At the same time digester > could use JDOM or DOM4J (they have esstially the same XPATH engine). > XPATH was designed to walk through an XML graph, so you can express > as complex or as simple rules as you want. both JDOM and DOM4j gives > you a pretty convenient (I mean collections) interface to the > document. Comments? > > incze > I just checked in a patch that refactors Digester slightly. There's a new Rules interface that you can implement (or subclass the default RulesBase class) to provide your own policies for selecting rules that match. Simply create your own Rules implementation and register it by calling digester.setRules() before you start calling the rule adding methods. Craig
- Re: earth-to-digester robert burrell donkin
- Re: earth-to-digester Craig R. McClanahan
- [PATCH] Re: earth-to-digester robert burrell donkin
- Re: [PATCH] Re: earth-to-digester robert burrell donkin
- Re: [PATCH] Re: earth-to-digester Craig R. McClanahan
- Re: earth-to-digester James Strachan
- Re: earth-to-digester Craig R. McClanahan
- Re: earth-to-digester James Strachan
- Re: earth-to-digester robert burrell donkin
- Re: earth-to-digester Incze Lajos
- Re: earth-to-digester Craig R. McClanahan
- Re: earth-to-digester Incze Lajos
- [PATCH] org/apache/commons/digester/pac... robert burrell donkin
- Re: [PATCH] org/apache/commons/digester... Scott Sanders
- Re: earth-to-digester robert burrell donkin
- Re: earth-to-digester Craig R. McClanahan
- [SUBMIT] digester rule robert burrell donkin
- digester + texen + xml (was Re: PROPOSA... robert burrell donkin
- digester matching rules robert burrell donkin