The rule package can instantiate ruleset beans from files containing source rule language statements as well as from XML documents. For the latter, a DTD file is provided that describes the XML markup. You can write XML documents directly, using your favorite text editor, or you can use the provided ruleset editor to convert rulesets from source rule language to XML documents and vice versa. You only need make sure that the DTD file, AbleRuleSet.dtd, is in a location that is accessible to the XML parser when the parser is invoked.
As rule XML documents are more verbose and harder to understand than source rule language documents, it is recommended that you develop rulesets in source rule language using the provided ruleset editor and then save the rulesets in XML form when development is complete.
Please select a topic below.