Re: [CSS21] Please endorse xml:id

Norman Walsh:
> I think it would be of benefit to the community if the CSS 2.1 draft
> suggested that implementations of CSS 2.1 applied to XML documents
> <rfc2119>should</rfc2119> support the xml:id specification.

Either I do not understand this request correctly or it is just plain

If an application, that applies CSS onto XML (or a document tree
generated thereof), happens to support 'xml:id' in XML, it is of course
reasonable and consequent to have the '#' selector work with it (and
"[xml\:id]", "[id]", "[xml|id]"). I do not believe any developer of such 
an application would not implement that, even without any mention of it 
in any standard.
It is quite comparable to 'xml:lang' and ':lang()', which AFAIK is not 
required either. Or to any (SGML or XML) attribute that is DTDed as 
'ID', but IIRC the note on that has been dropped in CSS 2.1.

If an application, that applies CSS onto XML, does not support 'xml:id',
there is no need on the behalf of CSS to require anything more from it
than it currently does.

So maybe you can make a note or an example on 'xml:id' in the CSS
specification, but to require it (SHOULD or MUST) is way too much.

	Christoph Päper

Received on Thursday, 30 June 2005 20:13:02 UTC