XML News from Monday, February 19, 2007

The W3C HTML Working Group has posted a new working draft of XML Events 2. "The XML Events module defined in this specification provides XML languages with the ability to uniformly integrate event listeners and associated event handlers with Document Object Model (DOM) Level 2 event interfaces [DOM2EVENTS]. The result is to provide an interoperable way of associating behaviors with document-level markup." According to Mark Birbeck,

Although it was produced by the HTML Working Group (editors of this version being Shane McCarron and myself), it has features that are specifically geared towards future versions of XForms.

Some of the interesting new features are the ability to register and remove handlers at run-time, and the ev:script element, which allows action handlers to be created using script. This means that script can be interspersed with other action handlers.