Scott,

Just tried it.  Didn't solve the problem.  Is there any way to handle recursively 
nested tags?

-Mike

Quoting Scott Sanders <[EMAIL PROTECTED]>:

> Have you tried to used the ExtendedBaseRules?  They allow more
> sophisticated pattern matching.
> 
> Scott
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> > Sent: Wednesday, October 16, 2002 11:12 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Digester w/ Recursive Tags
> > 
> > 
> > Hey everyone,
> > 
> > I just discovered the Digester yesterday and I love it so 
> > far!  The only problem I have is handling recursively nested 
> > tags.  As an example, let's say you have this XML Doc:
> > 
> > <a>
> >   <b>
> >   <b />
> >   <b />
> >   <b />
> >   </b>
> >   <b />
> > </a>
> > 
> > a is the root element and can have 1 or more b elements.  
> > Each b element can in turn have children.  I want the same 
> > behavior for each b element, but I want to ensure that the b 
> > element is inside an a element.  I tried using a pattern like 
> > "a/*/b" but that doesn't seem to work.  Any suggestions?
> > 
> > -Mike Finkel
> > [EMAIL PROTECTED]
> > 
> > -------------------------------------------------
> > This mail sent through IMP: http://horde.org/imp/
> > 
> > --
> > To unsubscribe, e-mail:   
> > <mailto:commons-user-> [EMAIL PROTECTED]>
> > For 
> > additional commands, 
> > e-mail: <mailto:[EMAIL PROTECTED]>
> > 
> > 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to