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
"*/window/widget"
This pattern will match both of the "widget" tags, firing the same Rule
(which is generally what is desired).
<gui>
<window>
<widget id="1"/>
<window>
<widget id="2"/>
</window>
</window>
</gui>
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.
Regards,
Simon
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]