commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Kitching <>
Subject Re: [digester] parsing xmlrpc message [WAS Re: parsing xmlrpc message]
Date Thu, 22 Jul 2004 00:43:59 GMT
On Thu, 2004-07-22 at 08:27, robert burrell donkin wrote:
> you may need to use the ExtendedBaseRules (or create a regex rule 
> implementation from something like ORO) if the base pattern matching 
> rule vocabulary is not rich enough but it's hard to give you more help 
> without the idea of the xml and the source to which you're trying to 
> map.

Digester does handle recursive structures, at least for the basic cases.

The standard rules engine allows wildcard prefixes, eg

This pattern will match both of the "widget" tags, firing the same Rule
(which is generally what is desired).

    <widget id="1"/>
      <widget id="2"/>

If this doesn't give you what you want, please let us know why.
As Robert said, there are a number of other pattern-matching engines
(ExtendedBaseRules and RegexRules) that might work for you.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message