Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

Re: content type for XHTML fragments: reformulated

From: Daniel Schierbeck <daniel.schierbeck@gmail.com>
Date: Sun, 29 Jan 2006 14:51:17 +0100
Message-ID: <43DCC855.80507@gmail.com>
To: www-html@w3.org

Anne van Kesteren wrote:
> Quoting Daniel Schierbeck <daniel.schierbeck@gmail.com>:
>> It's been a while since this thread ceased being active, but I've 
>> been thinking of a more elegant way of transferring chunks of XHTML 
>> between applications/documents. This could eventually be added to 
>> XHTML 2.0.
>>
>> My proposal is to add a <fragment/> root element that encapsulates 
>> the XHTML content being sent. That way you could send that content as 
>> application/xhtml+xml.
>
> That would still require an update of RFC 3236. I also don't really 
> see the
> advantage over using simply a <div> element with the namespace applied 
> to it or
> some random element in another namespace. 
A <fragment/> element would imply that only the content/children of that 
element should be handled/inserted into the target. A <div/> element 
doesn't imply anything about how it's supposed to be handled - maybe the 
<div/> itself should be inserted, maybe the children of the <div/>. In 
the original example we were only interested in the contents of the root 
element, but we had no way to tell the application that.
> I also don't see why would want to send it over the wire as 
> application/xhtml+xml.
Because it's not SVG/whatever. It *is* XHTML.


Cheers,
Daniel Schierbeck
Received on Sunday, 29 January 2006 13:51:03 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.