Re: Compatibility: Referencing Style Elements when serving as XML

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 UTC