Revision 105212 of XBL 1.0 Reference

  • Revision slug: XBL/XBL_1.0_Reference
  • Revision title: XBL 1.0 Reference
  • Revision id: 105212
  • Created:
  • Creator: Andreas Wuest
  • Is current revision? No
  • Comment /* [[XBL:XBL 1.0 Reference:Anonymous Content|Anonymous Content]] */ added subsection headings
Tags: 

Revision Content

This Reference is being migrated from here. Any help you can provide in completing this migration work would be much appreciated. Thanks. -- dria 09:42, 5 September 2005 (PDT)

Abstract

This note outlines the Extensible Binding Language (XBL). It is a markup language for describing bindings that can be attached to elements in other documents. Bindings can be attached to elements using either Cascading Style Sheets (CSS) or the Document Object Model (DOM). The element that the binding is attached to, called the bound element, acquires the new behavior specified by the binding.

Bindings can contain event handlers that are registered on the bound element, an implementation of new methods and properties that become accessible from the bound element, and anonymous content that is inserted around the bound element.

XBL Elements

Binding Attachment and Detachment

DOM Interfaces

Anonymous Content

Binding Implementations

Event Handlers

Example - Sticky Notes

References

Original Document Information

  • Last Updated Date: January 3, 2003

Revision Source

<p>
</p>
<div class="note">
<p>This Reference is being migrated from <a class="external" href="http://www.mozilla.org/projects/xbl/xbl.html">here</a>.  Any help you can provide in completing this migration work would be much appreciated.  Thanks. -- <a href="User:Dria">dria</a> 09:42, 5 September 2005 (PDT)
</p>
</div>
<h2 name="Abstract">Abstract</h2>
<p>This note outlines the Extensible Binding Language (<a href="en/XBL">XBL</a>). It is a markup language for describing bindings that can be attached to elements in other documents. Bindings can be attached to elements using either Cascading Style Sheets (<a href="en/CSS">CSS</a>) or the Document Object Model (<a href="en/DOM">DOM</a>). The element that the binding is attached to, called the <i>bound element</i>, acquires the new behavior specified by the binding.
</p><p>Bindings can contain event handlers that are registered on the bound element, an implementation of new methods and properties that become accessible from the bound element, and anonymous content that is inserted around the bound element.
</p>
<h2 name="XBL_Elements"><a href="en/XBL/XBL_1.0_Reference/Elements">XBL Elements</a></h2>
<ul><li> <code><a href="en/XBL/XBL_1.0_Reference/Elements#bindings">bindings</a></code>
</li><li> <code><a href="en/XBL/XBL_1.0_Reference/Elements#binding">binding</a></code>
</li><li> <code><a href="en/XBL/XBL_1.0_Reference/Elements#content">content</a></code>
</li><li> <code><a href="en/XBL/XBL_1.0_Reference/Elements#children">children</a></code>
</li><li> <code><a href="en/XBL/XBL_1.0_Reference/Elements#element">element</a></code>
</li><li> <code><a href="en/XBL/XBL_1.0_Reference/Elements#implementation">implementation</a></code>
</li><li> <code><a href="en/XBL/XBL_1.0_Reference/Elements#method">method</a></code>
</li><li> <code><a href="en/XBL/XBL_1.0_Reference/Elements#parameter">parameter</a></code>
</li><li> <code><a href="en/XBL/XBL_1.0_Reference/Elements#body">body</a></code>
</li><li> <code><a href="en/XBL/XBL_1.0_Reference/Elements#property">property</a></code>
</li><li> <code><a href="en/XBL/XBL_1.0_Reference/Elements#getter">getter</a></code>
</li><li> <code><a href="en/XBL/XBL_1.0_Reference/Elements#setter">setter</a></code>
</li><li> <code><a href="en/XBL/XBL_1.0_Reference/Elements#handlers">handlers</a></code>
</li><li> <code><a href="en/XBL/XBL_1.0_Reference/Elements#handler">handler</a></code>
</li><li> <code><a href="en/XBL/XBL_1.0_Reference/Elements#script">script</a></code>
</li><li> <code><a href="en/XBL/XBL_1.0_Reference/Elements#stylesheet">stylesheet</a></code>
</li></ul>
<h2 name="Binding_Attachment_and_Detachment"><a href="en/XBL/XBL_1.0_Reference/Binding_Attachment_and_Detachment">Binding Attachment and Detachment</a></h2>
<ul><li> <a href="en/XBL/XBL_1.0_Reference/Binding_Attachment_and_Detachment#Attachment_using_CSS">Attachment using CSS</a>
</li><li> <a href="en/XBL/XBL_1.0_Reference/Binding_Attachment_and_Detachment#Attachment_using_the_DOM">Attachment using the DOM</a>
</li><li> <a href="en/XBL/XBL_1.0_Reference/Binding_Attachment_and_Detachment#The_bindingattached_Event">The bindingattached Event</a>
</li><li> <a href="en/XBL/XBL_1.0_Reference/Binding_Attachment_and_Detachment#The_bindingdetached_Event">The bindingdetached Event</a>
</li><li> <a href="en/XBL/XBL_1.0_Reference/Binding_Attachment_and_Detachment#Binding_Documents">Binding Documents</a>
</li></ul>
<h2 name="DOM_Interfaces"><a href="en/XBL/XBL_1.0_Reference/DOM_Interfaces">DOM Interfaces</a></h2>
<ul><li> <a href="en/XBL/XBL_1.0_Reference/DOM_Interfaces#The_DocumentXBL_Interface">The DocumentXBL Interface</a>
</li><li> <a href="en/XBL/XBL_1.0_Reference/DOM_Interfaces#The_ElementXBL_Interface">The ElementXBL Interface</a>
</li></ul>
<h2 name="Anonymous_Content"><a href="en/XBL/XBL_1.0_Reference/Anonymous_Content">Anonymous Content</a></h2>
<ul><li> <a href="en/XBL/XBL_1.0_Reference/Anonymous_Content#Introduction">Introduction</a>
</li><li> <a href="en/XBL/XBL_1.0_Reference/Anonymous_Content#Scoping_and_Access_Using_the_DOM">Scoping and Access Using the DOM</a>
</li><li> <a href="en/XBL/XBL_1.0_Reference/Anonymous_Content#Content_Generation">Content Generation</a>
<ul><li> <a href="en/XBL/XBL_1.0_Reference/Anonymous_Content#Rules_for_Generation">Rules for Generation</a>
</li><li> <a href="en/XBL/XBL_1.0_Reference/Anonymous_Content#The_contentgenerated_Event">The contentgenerated Event</a>
</li><li> <a href="en/XBL/XBL_1.0_Reference/Anonymous_Content#The_contentdestroyed_Event">The contentdestroyed Event</a>
</li></ul>
</li><li> <a href="en/XBL/XBL_1.0_Reference/Anonymous_Content#Attribute_Forwarding">Attribute Forwarding</a>
</li><li> <a href="en/XBL/XBL_1.0_Reference/Anonymous_Content#Insertion_Points">Insertion Points</a>
<ul><li> <a href="en/XBL/XBL_1.0_Reference/Anonymous_Content#.3Cchildren.3E_and_.3Celement.3E">&lt;children&gt; and &lt;element&gt;</a>
</li><li> <a href="en/XBL/XBL_1.0_Reference/Anonymous_Content#Handling_DOM_Changes">Handling DOM Changes</a>
</li></ul>
</li><li> <a href="en/XBL/XBL_1.0_Reference/Anonymous_Content#Event_Flow_and_Targeting">Event Flow and Targeting</a>
<ul><li> <a href="en/XBL/XBL_1.0_Reference/Anonymous_Content#Flow_and_Targeting_Across_Scopes">Flow and Targeting Across Scopes</a>
</li><li> <a href="en/XBL/XBL_1.0_Reference/Anonymous_Content#Focus_and_Blur_Events">Focus and Blur Events</a>
</li><li> <a href="en/XBL/XBL_1.0_Reference/Anonymous_Content#Mouseover_and_Mouseout_Events">Mouseover and Mouseout Events</a>
</li></ul>
</li><li> <a href="en/XBL/XBL_1.0_Reference/Anonymous_Content#Anonymous_Content_and_CSS">Anonymous Content and CSS</a>
<ul><li> <a href="en/XBL/XBL_1.0_Reference/Anonymous_Content#Selectors_and_Scopes">Selectors and Scopes</a>
</li><li> <a href="en/XBL/XBL_1.0_Reference/Anonymous_Content#Binding_Stylesheets">Binding Stylesheets</a>
</li></ul>
</li></ul>
<h2 name="Binding_Implementations"><a href="en/XBL/XBL_1.0_Reference/Binding_Implementations">Binding Implementations</a></h2>
<ul><li> <a href="en/XBL/XBL_1.0_Reference/Binding_Implementations#Introduction">Introduction</a>
</li><li> <a href="en/XBL/XBL_1.0_Reference/Binding_Implementations#Methods">Methods</a>
</li><li> <a href="en/XBL/XBL_1.0_Reference/Binding_Implementations#Properties">Properties</a>
</li><li> <a href="en/XBL/XBL_1.0_Reference/Binding_Implementations#Inheritance_of_Implementations">Inheritance of Implementations</a>
</li></ul>
<h2 name="Event_Handlers"><a href="en/XBL/XBL_1.0_Reference/Event_Handlers">Event Handlers</a></h2>
<h2 name="Example_-_Sticky_Notes"><a href="en/XBL/XBL_1.0_Reference/Example_Sticky_Notes">Example - Sticky Notes</a></h2>
<h2 name="References">References</h2>
<div class="originaldocinfo">
<h2 name="Original_Document_Information"> Original Document Information </h2>
<ul><li> Last Updated Date: January 3, 2003
</li></ul>
</div>
Revert to this revision