what does IIUC mean ?
Yeah. I mean, more exactly, I just need to know if the element has at least
a child:
bool = hasChild(myPattern)
thanks
On 15 May 2011 02:09, Simone Tripodi wrote:
> IIUC, no matters which kind of children your node has, you're
> interested only on the first child, right?
IIUC, no matters which kind of children your node has, you're
interested only on the first child, right?
http://people.apache.org/~simonetripodi/
http://www.99soft.org/
On Sat, May 14, 2011 at 10:51 PM, Patrick Diviacco
wrote:
> ps. the children names are completely different, there is no way
ps. the children names are completely different, there is no way to use a
regex to discriminate between them.
On 14 May 2011 22:50, Patrick Diviacco wrote:
> hi Simone,
>
> ok, it was just matter of adding one line :)
>
> By the way I still have an issue in the case of multiple children and I
hi Simone,
ok, it was just matter of adding one line :)
By the way I still have an issue in the case of multiple children and I
don't know how to solve it. If I have a document containing:
I don't want to trigger the method twice, but just once... in other terms I
want to trigger the metho
Hi Patrick,
I thought it was more intuitive, sounds we have to update de doc.
Anyway, to reply to your questions:
1) just create the Digester instance, set the RegexRules and start
binding your rules:
Digester digester = new Digester();
digester.setRules( new RegexRules( new SimpleRegexMatcher()
Thanks,
1) Is there any tutorial explaining how to use it ?
2) In my case, if I have more than one child, is the pattern detected
multiple times ?
help is very appreciated!
On 14 May 2011 01:36, Simone Tripodi wrote:
> Hi Patrick,
> follow the Konstantin's suggestion, that's the way to ach