Re: soap:body and media types (fwd)
Mark Baker <[email protected]>
| Newsgroups | gmane.text.xml.distributed |
|---|---|
| Message-ID | <[email protected]> |
I see Atom as a sort of "simple SOAP" in that it's a generic, XML based
envelope for content. It might interest you to know that it supports
using a media type to describe the content of entries, even when they're
XML;
On the atom:content element, the value of the "type" attribute MAY be
one of "text", "html", or "xhtml". Failing that, it MUST be a MIME
media type, but MUST NOT be a composite type (see Section 4.2.6 of
[MIMEREG]). If the type attribute is not provided, Atom Processors
MUST behave as though it were present with a value of "text".
-- Sec 4.1.3.1 of
http://www.ietf.org/internet-drafts/draft-ietf-atompub-format-09.txt
Mark.
--
Mark Baker. Ottawa, Ontario, CANADA. http://www.markbaker.ca
Coactus; Web-inspired integration strategies http://www.coactus.com