there was already some information regex rules in the digester documentation but i've added some more. see http://jakarta.apache.org/commons/digester/apidocs/org/apache/commons/ digester/package-summary.html#doc.Pluggable (you'll need to scroll down to the right section.

- robert

On 23 Jan 2004, at 03:51, Veerasamy, Thirumalai (Cognizant) wrote:

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:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


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


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



Reply via email to