W3C home > Mailing lists > Public > www-svg@w3.org > December 2004

Re: sXBL: Including non-SVG data

From: Peter Sorotokin <psorotok@adobe.com>
Date: Wed, 22 Dec 2004 16:10:09 -0800
To: Elliotte Harold <elharo@metalab.unc.edu>, www-svg@w3.org
Message-id: <5.2.0.9.2.20041222160624.02bdf570@mailsj-v1.corp.adobe.com>

At 04:05 PM 12/22/2004 -0500, Elliotte Harold wrote:

>Perhaps I'm missing something here, but one key piece of functionality 
>seems to be missing here. I can import bindings, but there's no obvious 
>way to import the actual non-SVG data sXBL is being used to render. 
>Perhaps this could be handled through JavaScript or XInclude, but it still 
>seems like it should be called out in an example.
>
>The use case is simple: I'd like to write an sXBL document that describes 
>how to display MusicXML or MathML or some other source XML documents, 
>without actually modifying the source documents. I'd like the sXBL which 
>describes the presentation of the data as SVG to be completely separate 
>from the actual data being displayed. The current approach feels like I'm 
>embedding a document in the stylesheet.

In other words you'd want something like

<object src="musicData.xml" binding="musicBinding.xbl"/>

That will have to wait for "full XBL", there are a lot of issues to nail 
down and it won't be possible to cover them quickly.

Peter


>--
>Elliotte Rusty Harold  elharo@metalab.unc.edu
>XML in a Nutshell 3rd Edition Just Published!
>http://www.cafeconleche.org/books/xian3/
>http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
>
Received on Thursday, 23 December 2004 00:10:25 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:29 GMT