commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Veerasamy, Thirumalai (Cognizant)" <VThiru...@chn.cognizant.com>
Subject RE: [Digester] Recursive nodes - One to many
Date Fri, 23 Jan 2004 03:51:20 GMT
Hi simon,

  I searched through google, couldn't find the usage of regex digester. If possible could
you please provide one.

Regards,
Thiru


 -----Original Message-----
From: 	Simon Kitching [mailto:simon@ecnetwork.co.nz] 
Sent:	Friday, January 23, 2004 3:03 AM
To:	Jakarta Commons Users List
Subject:	Re: [Digester] Recursive nodes - One to many

On Fri, 2004-01-23 at 03:26, Veerasamy, Thirumalai (Cognizant) wrote:
> Hi,
> 
>   I have a requirement where the node names could be unknown but the
> their properties or known. Again its child could again be unknown. See
> the example below.

The standard pattern-matching engine (RulesBase) doesn't support
patterns like:
  /contexts/context/*/id
It supports leading wildcards, and that's it (as described in the
javadoc).

You might be able to get this effect via the RegexRules or
ExtendedBaseRules. See the javadoc for these classes.

Regards,

Simon


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org



Mime
View raw message