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 Dynamic DOM.