- From: Werner Donné <werner.donne@re.be>
- Date: Mon, 11 Sep 2006 11:19:21 +0200
- To: www-style@w3.org
Mark, The CSS spec can indeed do this, but it can never work through attribute values, because that would break the fact that namespace prefixes are in document scope. As a consequence, the XML vocabulary of the processed document should provide, indeed, another way to declare what the namespace of a class of an element is. This may be yet another attribute, which would introduce a new convention between this XML vocabulary and CSS. Note that the privilege HTML has with its class attribute is also just a convention. The class attribute has served well for providing extensibility to HTML and XHTML, but in the XML world such practice should be deprecated, because we have namespaces. This allows us to define new XML schemas that allow mixing in elements and (global) attributes from other namespaces, which offers extensibility through modularisation. Regards, Werner. -- Werner Donné -- Re Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: werner.donne@re.be
Received on Monday, 11 September 2006 09:19:44 UTC