Re: content type for XHTML fragments: reformulated

Am Dienstag, 17. Januar 2006 03:03 schrieb HeroreV:
> --- Lachlan Hunt <lachlan.hunt@lachy.id.au> wrote:
> > No, you don't need to wrap it in an outer element if
> > you used that MIME type.
>
> But without a wrapping element, there is no easy way
> to declare the namespace. The XML fragment will have
> to be parsed and the elements that aren't contained in
> other elements will all need an xmlns attribute.
>
> If a wrapping element is used, it will be nonsemantic.
> Something like an <xml:fragment> element would be
> useful here.
Yes, but it should probably not be <xml:fragment/>. I doubt that declaring 
elements within the xml namespace is a good idea.

-- 
Christian Hujer
Free software developer
E-Mail: Christian.Hujer@itcqis.com
WWW: http://www.itcqis.com/ http://daimonin.sf.net/

Received on Tuesday, 17 January 2006 19:05:08 UTC