- SXBL
sXBL (SVG's XML Binding Language) is a mechanism for defining the presentation and interactive behavior of elements described in a namespace other than SVG's (an XML language supporting vector graphics, user events and scripted behavior). sXBL is very similar to
XBL , as it does for SVG documents what XBL does forXUL documents. For example, it is possible to define a generic scrollArea in sXBL and use it in SVG documents.History, objectives and future
sXBL specification derived from a specification called RCC (Rendering Custom Content) that was embedded in a 2003 working draft [ [http://www.w3.org/TR/2003/WD-SVG12-20030715/ Scalable Vector Graphics (SVG) 1.2 - W3C Working Draft 15 July 2003] ] of the SVG 1.2 specification. The RCC part of the specification has since been removed in favor of the sXBL more modular approach.
As stated in the sXBL working draft:
"sXBL is intended to be an SVG-specific first version of a more general-purpose XBL specification (e.g., "XBL 2.0"). The intent is that, in the future, a general-purpose and modularly-defined XBL specification will be developed which will replace this specification and will define additional features that are necessary to support scenarios beyond SVG, such as integration into web browsers that support CSS. Once a general-purpose XBL is defined, sXBL would just become an SVG-specific subset (i.e., a profile) of the larger XBL specification."
Even if sXBL has borrowed a lot from XBL, there are some differences between these two standards (for example, the name of some of the elements are different).However, it must be noted that there are also some subtle differences between the current state of the Mozilla XBL 2.0 working draft [ [http://www.mozilla.org/projects/xbl/xbl2.html XBL 2.0] ] and the current state of the sXBL working draft.
As the sXBL specification has not evolved since the last working draft in
August 2005 , and since theSeptember 2006 release of the XBL 2.0 last call working draft, it seems that sXBL will be dropped in favour of the more general XBL 2.0 approach. [ [http://lists.w3.org/Archives/Public/public-appformats/2006Sep/0093.html Re: A question on sXBL and XBL 2.0] ]Implementations
sXBL is a
W3C working draft, is has not yet reached the status of a recommendation. However, the Batik SVG Toolkit, a Java library that can be used to render, generate, and manipulate SVG graphics, has a preliminary "almost full" implementation of the current state of the sXBL specification in its code base.References
ee also
*
XML
*SVG
*XBL External links
* [http://www.w3.org/TR/sXBL/ Specification] W3C Draft.
* [http://annevankesteren.nl/2005/11/xbl Explaining the differences between sXBL and XBL 2.0 specifications]
* [http://xml.apache.org/batik/ Batik SVG Toolkit] - Batik SVG toolkit website
* [http://wiki.apache.org/xmlgraphics-batik/SupportedSVG12Features Current status of Batik's sXBL implementation]
Wikimedia Foundation. 2010.