Dear XBL experts,
This email comments on the 7 September 2006 LCWD of XBL 2.0.
The specification allows 3 ways to attach bindings to an element:
- using the binding element
- using the ECMAScript function addBinding
- using CSS
Though all are useful, having a way to specify the binding from the
bound element, when CSS stylesheets are not used, would be an
interesting feature. I think the specification should define a generic
attribute (e.g. xbl:apply-binding) allowed on any element, used in the
bound document, and whose content is IRI to the binding that needs to be
applied for that element. Of course, some points need to be further
specified like precedence with respect to the other mechanisms.
Cyril Concolato