<!ENTITY % bindings-content "(binding|script|stylesheet)*"> <!ELEMENT bindings %bindings-content;> <!ATTLIST bindings id ID #IMPLIED type CDATA #IMPLIED >
bindings element is the root element of an XBL document. It contains zero or more
binding elements as children. Each
binding child element defines a unique binding that can be attached to elements in other documents. The
bindings element can also contain
stylesheet elements as children. These specify scripts and stylesheets that are used by the bindings.
<bindings xmlns="http://www.mozilla.org/xbl"> <binding id="binding1"> ... </binding> <binding id="binding2"> ... </binding> ... </bindings>
idattribute is a document-unique identifier. The value of this identifier is often used to manipulate the element through a DOM interface (e.g., using
typeattribute specifies the scripting language used by all bindings in the document. Bindings can selectively override this default by specifying
typeattributes of their own.