On Fri, 2004-01-23 at 17:06, Veerasamy, Thirumalai (Cognizant) wrote: > Let me know if this is possible. > > <contexts> > <context> > <entry> > </entry> > <entry> > <entry> > <entry> > ... > </entry> > </entry> > </entry> > </context > </contexts> > > Here the entry node could occur go to any depth and it could appear any number of > times.
If using the standard Rules engine, the pattern "*/entry" will cause the associated rule(s) to fire, no matter where the <entry> node is. The pattern "*/context/entry" will cause the associated rule(s) to fire only for entry nodes which are direct children of context nodes. If you want to have more control than that, then you need to investigate the other Rules engines. I can't give you any advice on them other than the Regex info already given. Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
