# 32. XML Events Module

Contents

This section is normative for purposes of defining the integration of XML Events into XHTML 2. The semantics of XML Events itself is normatively defined in [XMLEVENTS].

This module includes the listener element as defined in [XMLEVENTS]. As permitted by XML Events 2, this element is incorporated into the XHTML namespace.

## 32.1. Events

This module 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. Their names and datatypes are listed below:

Attributes | Notes
--- | ---
event * (QNames) |
observer (IDREFS) |
eventTarget (IDREFS) |
handler (URI) |
phase (`"bubble" | "capture" | "default"* | "target"`) |
propagate ("stop" | "continue"*) |
defaultAction (`cancel|perform*`) |

RelaxNG, XML Schema

## 32.2. Issues

[XML Events 2] Problem with image PR #8050
State: Open
Resolution: None
User: None

Notes:

LC Comment: Common event info from event() PR #8056
State: Approved
Resolution: Accepted
User: None

Notes:
The group notes that you can access anything that is in the event object. We will add some text to make this clear and tie it to the DOM 3 specification.