You are currently viewing a snapshot of taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to, please file a bug.

XML Binding Language (XBL)

XBL is a component of Mozilla's layout architecture that provides the ability to map elements to script, event handlers, CSS, and more complex content models. This is used to implement XUL elements, as well as the non-standard HTML marquee element.

It can also be used to implement new DOM interfaces, and, in conjunction with other specifications, enables arbitrary tag sets to be implemented as widgets. For example, XBL is used in part by the project to implement an XForms extension for Firefox.


A specification for XBL 1.0 is available. Mozilla implements a variant of XBL 1.0 which does not quite match the specification.

There is also work in progress on an XBL 2.0 specification.