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

Re: html 5, svg and internal subset?

  • From: Dave Pawson <davep@dpawson.co.uk>
  • To: Martin Honnen <Martin.Honnen@gmx.de>
  • Date: Thu, 9 Sep 2010 19:45:25 +0100

Re:  html 5
On Thu, 09 Sep 2010 20:17:29 +0200

> If you load a file from the file system then the file suffix is used
> I think to determine the MIME type and that way the parser that is
> used. A ".html" file is parsed as text/html (meaning so far with the
> browser's tag soup parser, with Firefox 4 with the new html5 parser),
> a ".xhtml" or ".xml" file is parsed as XML with the XML parser.

OK. Guessing then it ignores
<meta http-equiv="content-type" content="text/html       ;
charset=utf-8" />


> I am sure with Firefox or Mozilla you can use an .xml file with
> elements from XHTML, SVG and MathML just fine as long as you use
> namespaces. And Opera I think has no MathML support but can certainly
> render mixed namespace XHTML and SVG documents.

Which is fine for a trivial SVG file, but with a few hundred/thousand
lines of SVG (or mathml) it all gets a bit messy and could benefit
from an import/include, which is what i'm looking for?
Inlined SVG works (as it does now, using a transform to include it)
but I can't have a tidy source file. 

-1 to html5 then.

Thanks Martin.




-- 

regards 

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk


[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.