Difference between revisions of "XBL"

From CDOT Wiki
Jump to: navigation, search
(XBL Elements)
Line 2: Line 2:
 
:'''Bindings'''
 
:'''Bindings'''
 
::The '''Bindings''' element contains many Binding elements.
 
::The '''Bindings''' element contains many Binding elements.
 +
::Also can store contain script and stylesheet elements.
 
::'''DTD decleration'''
 
::'''DTD decleration'''
 
::<pre><!ELEMENT bindings ( binding* ) > [ where * indicates zero or more of the binding element]</pre>
 
::<pre><!ELEMENT bindings ( binding* ) > [ where * indicates zero or more of the binding element]</pre>

Revision as of 21:01, 5 October 2006

XBL Elements

Bindings
The Bindings element contains many Binding elements.
Also can store contain script and stylesheet elements.
DTD decleration
<!ELEMENT bindings ( binding* ) > [ where * indicates zero or more of the binding element]
XML representation
<bindings ...><binding id="binding1"><binding><binding id="binding2"><binding></bindings>
Binding
The Binding element describes a single XBL binding.
The Binding element has the ability to add additional methods to an element.
The Binding element has the ability to add additional or modify the properties of an element.
<!ENTITY % binding-content "(content?,implementation?,handlers?)">
<!ELEMENT binding %binding-content;>
<!ATTLIST binding
   id                     ID             #REQUIRED
   extends                CDATA          #IMPLIED
   display                CDATA          #IMPLIED
   applyauthorstyles      false          #IMPLIED
   styleexplicitcontent   false          #IMPLIED
>