W3C home > Mailing lists > Public > www-html@w3.org > May 2011

Re: Compatibility: Referencing Style Elements when serving as XML

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 4 May 2011 18:35:04 +0000 (UTC)
To: Luis Marsano <luis.marsano@gmail.com>
cc: www-html@w3.org
Message-ID: <Pine.LNX.4.64.1105041833300.25791@ps20323.dreamhostps.com>
On Tue, 3 May 2011, Luis Marsano wrote:
>
> their fragment identifier set using the id attribute, and an XML
> stylesheet declaration should reference this fragment."
> However, http://www.w3.org/TR/xhtml-media-types/#C_1 says "DO NOT
> include XML processing instructions NOR the XML declaration."
> Moreover, http://www.w3.org/TR/xhtml-media-types/#C_14 says "DO NOT
> use xml-stylesheet declarations to identify style sheets."

For CSS, it isn't supported because XML files have a non-CSS MIME type so 
the processor never gets as far as looking for an ID. This is primarily 
designed for XSLT, as I understand it.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 4 May 2011 18:35:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:19 GMT