W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2013

Re: [whatwg] XML data islands related question

From: Alain Couthures <alain.couthures@agencexml.com>
Date: Thu, 07 Feb 2013 19:16:04 +0100
Message-ID: <5113EF64.8030105@agencexml.com>
To: "Jukka K. Korpela" <jkorpela@cs.tut.fi>
Cc: whatwg@lists.whatwg.org
Le 07/02/2013 19:03, Jukka K. Korpela a écrit :
> It's a bit odd that if you wish to set up a standalone application 
> running in a browser (often called "HTML5 application", without 
> implying any particular version of HTML5), you can include e.g. 
> scripts and images in separate files but not plain text or XML data
A good workaround is to use the SCRIPT element with a type attribute set 
to "text/xml": the browser will not try to interpret it! I use it myself 
in my XForms implementation to store fragments of XHTML+XForms.

Received on Thursday, 7 February 2013 18:16:33 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:19 UTC