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

Re: Partyin' like it's 1999


mathplayer javascript

> Where is this PI documented? 

Somewhere on msdn I suppose:-)

>  I might get TagSoup to interpret it.

Not sure that you can: the PI associates a prefix to an activex object
(which is all IE needs) so although you could interpret it you couldn't
really change it to a namespace decln unless you have the URI to hand by
some other means. In practice I think most docs declare the prefix both
with xmlns:x and with the PI. The format is something like:

<object id="mmlFactory" 
        classid="clsid:32F66A20-7614-11D4-BD11-00104BD3F987">
</object>
<?import namespace="mml" implementation="#mmlFactory"?>

where the trailing ? isn't used in html versions of course.

the PI associates the prefix mml: with the object specified by the id
mmlFactory and the <object assocates this with the class id of the
behaviour.

the stylesheets available at
www.w3.org/Math/XSL
hide all this weirdness allowing you to serve straight xhtml+mathml
documents, and they just add such objects for whatever implementations
they find by escaping to javascript to query the existence of the
active x object.

Actually recent versions of mathplayer don't require this stylesheet
they will intercept some xhtml+mathml documents (if served with an xml
mime type) and do the transform internally without the author having to
specify XSLT styling, before passing the resulting document to IE's
rendering.

http://www.dessci.com/en/products/mathplayer/author/creatingpages.htm#InteroperabilityConsiderations

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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.