Altova Mailing List Archives>Archive Index >xml-dev Archive Home >Recent entries >Thread Prev - CSS Scoping in XML Namespaces [Thread Next] Re: [xml-dev] CSS Scoping in XML NamespacesTo: Robert Koberg <rob@------.---> Date: 3/4/2004 12:22:00 PM 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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
