|
Helping ordinary people create extraordinary websites! |
Introduction to XML EventsBy Micah Dubinko2005-04-22
Dynamic Documents with Less Script A number of markup technologies involve attaching behaviors to specific parts of a document. XML Events is a W3C Recommendation that allows declarative attachment of a behavior -- which can be a predefined bundle of actions defined in XML or a more general call to a scripting language -- to a specific element. This article gives an overview of how XML Events came about, what it's useful for, and how it works. Modern Web sites are highly interactive: Dynamic navigation menus, image rollovers, forms, and even drag and drop are available. A common factor among all such sites is some kind of technique for associating a behavior with a specific part of the document. Unfortunately, current practice is something of a jumble of script-heavy approaches, especially in cases where code needs to work on multiple browsers. Tutorial Pages: » Dynamic Documents with Less Script » Two Kinds of Events » How Events Work » From Events to XML Events » Conclusion » Resources First published by IBM DeveloperWorks |
|