[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: XML5

  • From: David Carlisle <davidc@nag.co.uk>
  • To: Jirka Kosek <jirka@kosek.cz>
  • Date: Thu, 16 Dec 2010 21:38:49 +0000

Re:  Re: XML5
On 16/12/2010 21:24, Jirka Kosek wrote:
> I still don't know why it shouldn't be possible to insert AnyXML
> fragments into HTML5 page and assign it styling/behaviour using
> CSS/XSLT/JavaScript/XBL2. This would be open platform in my mind. Why I
> couldn't insert MusicXML fragment into middle of page, let attached
> Javascript file render it on canvas (or to SVG) and still have
> possibility to copy'n'paste this MusicXML into my music software in
> order to play it or modify melody? You can find such examples in many
> domains.
>

You can do that, although it is unnecessarily convoluted, eg
<math style="display:none">
<musicxml>
....
</musicxml>
</math>
then at least it parses (so long as there are no html element names in 
your music xml vocabulary) Of course you then need to use javascript to 
extract it and render it somehow. It's invalid like that but
if that is a concern you could just increase the wrapping and use 
annotation-xml.  I don't really want to see math (or equivalently svg) 
abused in this way, but that is the inevitable consequence of html5 
allowing just those two elements to have a slightly more reasonable 
parsing behaviour.

David



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.