Re: [xml-dev] CSS Scoping in XML Namespaces

From
Robin Berjon <>
To
Robert Koberg <>
Date
2004-03-04T12:35:01Z
ID
<>
Thread
Re: [xml-dev] CSS Scoping in XML Namespaces
Robert Koberg wrote:
> just escape the backslash. I have only used this in IE, so test in other 
> browsers...
> 
> <style>
>
> myns1\:myelement {
> color:purple;
> }
> 
> myns2\:myelement {
> color:#fff;
> }
> 
> </style>

Baaaaah. Matching prefixes instead of namespaces. Bad bad bad. You ought 
to declare the namespace with an @namespace rule, and then use 
pfx|localName.

-- 
Robin Berjon