
Contents
This section is informative.
The XML Events Module defines a linkage between XHTML and the XML Document Object Model [DOM]. XML Events are defined in [XMLEVENTS], and all XML Event elements and attributes are in their own namespace.
When this module is selected, the ev:listener element is added to the content model of the head element as defined in the Document Module.
This module also defines the Events Attribute Collection via the global attributes from [XMLEVENTS]. The normative definition of those attributes and their semantics is included in that specification. They are described briefly below:
List of XHTML 2 Events Needed
We need to define the list of XHTML 2 events and map them into the XHTML DOM. activate, load, focusIn, focusOut, ...Note that these attributes are not in the XHTML namespace but in the XML Events namespace. The XHTML namespace is the default namespace for XHTML documents, so XHTML elements and attributes may be expressed without namespace prefixes (although they are permitted on elements). XML Events attributes MUST use a prefix, since they are not in the default namespace of the document.
Implementation: RELAX NG, XML Schema, DTD
Internet Explorer 6.0+,
Firefox 1.5+!