[
Lists Home |
Date Index |
Thread Index
]
- From: Sasha Nakhimovsky <sasha@mail.colgate.edu>
- To: "'lisa@exinet.co.za'" <lisa@exinet.co.za>, xml-dev@XML.ORG
- Date: Mon, 29 May 2000 14:07:20 -0400
Where is the proper relationship between CSS1 and Namespaces
defined/codified? Has it been?
Suppose you have an xml file like this:
======
<?xml version="1.0"?>
<?xml-stylesheet href="coll.css" type="text/css"?>
<collection xmlns:nss="http://www.n-topus.com">
<nss:item type="stamp">
<nss:num>S-1873-001</nss:num>
<nss:country>Italy</nss:country>
<nss:year>1873</nss:year>
</nss:item>
</collection>
=======
and you provide a stylesheet, coll.css, like so:
=======
collection {
display: block;
}
item {
display: list-item;
float: none;
border: none;
}
num {
display: block;
font-weight: bold;
color: blue;
text-decoration: underline;
cursor: pointer;
}
country {
display: block;
font-style: italic;
}
year {
display: block;
font-family: monospace;
font-size: 8pt;
}
=======
The observed behavior is that IE5.0 ignores the stylesheet
and just runs the text content of the file together,
while Mozilla 6 recognizes it. Both ignore the stylesheet
if the stylesheet selectors include the prefix, even though
one might have expected that a CSS stylesheet will adopt the
XML 1.0 view of QNames, not the Namespace view.
Clarifications badly needed.
***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************
|