ietf-xml-mime
[Top] [All Lists]

Re: Media types for XSL stylesheets

1999-10-12 09:59:35


MURATA Makoto wrote:

3) An XSL stylesheet may be embedded as a part of XML document itself and
is referenced by a fragment identifier from this XML document.  The above
example demonstrates such an embedded XSL stylesheet.

Yes

5) The example quoted above is controvertial.  If this document is delivered
as "text/xml", what will be the media type for the referenced (embedded)
XSL stylesheet?  text/xml or text/xsl?

It is not a separate resource and thus, the stylesheet portion does not
have or need a separate media type, would be my explanation. There is no
message body or separate bodypart to label.

The media type for the document as a whole would be that of the root
element; either a specialised type, if it has one, or a more generic
application/xml, as appropriate.

--
Chris

<Prev in Thread] Current Thread [Next in Thread>