I am seeking to implement a Rules Engine for my application. The nature of requirements is such that:
1. Data to be operated upon is placed in a properly formatted XML file. 2. This input XML file will have a structure like:
3. I need to parse the above structure and validate the data present within <data> tags against a set of rules which will be specified by the end-user (business user). This is where I believe that the Rules Engines should kick in. 4. The output should be another XML file based on the result of step 3.
Now I've gone through the user manual for Mandarax and I find it predominantly concerned with SQL queries and rule bases from Databases. Is there any way that rules from an external source (a Rules file, perhaps) can be applied onto the input data (read from the XML file)?
I know that Drools provides such support, but in case of Drools, the conditional statement in a Rule file can only access the getter methods of the Class object passed to it. It doesn't support methods which take in an input in the conditional part of a Rule.
Any help would be really appreciated. Thanks a lot! [ May 14, 2007: Message edited by: Anirvan Majumdar ]
I RELEASE YOU! (for now .... ) Feel free to peruse this tiny ad: