OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]

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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS