Re: Question about linking CSS to XML vocabularies

Mike Bremford wrote:

> Styling of arbitrary XML doesn't require any additional attributes to be 
> added. The "#id" and ".class" selectors are just syntactic sugar for the 
> attribute selectors "[id=id]" and "[class~=class]" - there is nothing 
> special about those attributes in CSS, and they don't need to exist in 
> your XML vocabulary. The "style" attribute isn't part of CSS - that's an 
> XHTML-specific way of specifying CSS inline.

This is false.
The specificity of #id is higher than [id=id]'s.

</Daniel>, with his Selectors' editor hat on

Received on Friday, 29 December 2006 05:59:55 UTC