XML elements and related processes for validation of XML data files is
disclosed. These elements are used to specify validation rules that are
used by a real-time validation tool to validate data in a node of an XML
data file. These elements also are used to specify error messages to be
displayed when a node is found to be invalid. Further, they are used to
associate executable code with a node that can be executed when the node
is modified.