--- In [email protected], "lpmlabs9" <[EMAIL PROTECTED]> wrote: > With the embed vs object question that continues to surface, why isn't > inlining ever proposed? > Larry >
I think because inline SVG in IE requires HTML while inline SVG in Firefox/Opera/WebKit requires XHTML. Plus, all of your SVG must be prefixed, which makes markup more frustrating to write. What you can do is serve your pages as XML with unprefixed markup (to both IE and Firefox and Opera and WebKit), and provide an XSLT transform. I have one in use here (http://math101.jasonkarldavis.com/dev/) which transforms an XHTML document with unprefixed SVG and MathML into an HTML document with the necessary hacks applied and prefixed SVG and MathML for IE, and leaves everything else as in other browsers (with the exception of a slight CSS fix for Mozilla to better support MathML semantics). The XSLT transform I use also supplies limited XInclude support (just by id) (which is how I get the markup onto the demo page at the URI, even though the markup could just as easily be inserted directly as is). My XInclude support messes up Opera's XSLT processor, and could easily be removed to support that browser again (at the cost of XInclude). Similarly, you could also strip the MathML-related parts of my XSLT document to streamline it for SVG consumption-only. I prefer this way because I can properly serve my pages as application/xml to all browsers and leave my markup unprefixed (which is nice especially for MathML, but certainly for SVG as well), and I need no hacks to the actual document's markup (other than the XSLT processing instruction) to get it working cross-browser. -Jason Davis ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

