|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








