Abstract
XML or eXtensible Markup Language is an open-source markup language that allows users to define and use their own tags. The World Wide Web Consortium (W3C) publishes and maintains the requirements and syntax of XML. This project developed a framework for fuzzy active rules for an XML-based system. A fuzzy active rule (FAR) entered by the user serves as the input to the Fuzzy Parser, which translates the input into a crisp active rule (CAR) by using a set of values from the XML database. The CAR generated by the parser is run in the underlying database, creating a trigger that helps the system monitor itself and implement constraints. When an XQuery update command issued by the user attempts to interact with the data in the database, either to insert or modify data, the database engine determines whether an event defined in a CAR has occurred. In such a situation, the CAR is fired, its condition evaluated, and the action executed if the condition evaluation returns True.