commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [DIGESTER] Pattern Matching
Date Thu, 20 Mar 2003 17:54:21 GMT
Hello,  I am trying to build a rules file and I want to accomplish the

Match an element that is nested only under certain parent elements. Is there
support for "or" type matching, .e.g. "(a|b|c)/e"?

I have an element that may be nested recursively.  I mean it can be
contained within itself or within one other type of element.  I tried to
match like this...

<pattern value="a/b">
	<pattern value="*/c">

where the xml file could be


But it did not match.

Any ideas or suggestions would be greatly appreciated.


Ted Slusser
InPHact  - The Radiology Solutions Company
5141 Virginia Way
Brentwood, TN 37027
(615) 843-2918

View raw message