[
Lists Home |
Date Index |
Thread Index
]
This is to announce the first public version of the DynamicDOM APIs along
with a tutorial and sample code.
The DynamicDOM is an extension of the DOM with the ability to enforce and
execute XRules business rules. With the DynamicDOM you can load your XML
purchase order, attach your business rules document to it, and then update
the ItemQuantity node just to find that the SubTotal, Tax, and GrandTotal
nodes get updated automatically based on the rules you specified.
A tutorial and C# code is available for download from:
http://www.xrules.org/
The DynamicDOM extends the DOM by adding new APIs for managing XRules
documents, editing Infoset properties, and capturing DynamicDOM events. The
API set is simple and easy to learn. For example, to apply XRules to an XML
document all you need to do is:
myXml.XRulesDocuments.Add("myXRules.xr");
That's it; the rules are applied, some XML nodes have new values now,
and some validation errors are already in the Errors collection. Have fun.
Regards,
Waleed Abdulla
http://www.xrules.org
About XRules:
XRules is an XML business rules language that expresses constraints,
calculations, interdependencies, and properties that describe and exist
among elements and attributes of an XML document. XRules can be used to
validate business rules in an XML transaction, attach metadata to the XML
Infoset, or add dynamism to XML by using the DynamicDOM.
|