[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: html 5, svg and internal subset?
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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|