![]() |
|
![]() |
||
![]() |
![]() |
|
[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date] Re: content type for XHTML fragments
From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 16 Jan 2006 17:21:59 +0100 To: Shane McCarron <shane@aptest.com> Cc: www-html@w3.org Message-ID: <anhns1t62v70jrh962i1eh826bvs1nue27@hive.bjoern.hoehrmann.de> * Shane McCarron wrote: >If it were me.... I would include a DOCTYPE and ensure that the >fragment was actually legal xml (the example below is not). Somehting like: > > ><!DOCTYPE p > PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd "> ><p>This is <em>really</em> cool</p> > >And use a content type of application/xml-external-parsed-entity. I'd recommend against this as document type declarations are not allowed in external parsed entities. "this is <em>really</em> cool" on the other hand is a well-formed external parsed entity. -- Björn Höhrmann · mailto:bjoern@h... · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/Received on Monday, 16 January 2006 16:21:22 GMT |
|
||||||||||||||||