W3C home > Mailing lists > Public > www-style@w3.org > February 2000

CSS Lists in XML

From: Mark Baartse <mark@groovygames.com>
Date: Sun, 27 Feb 2000 12:28:09 -0000
Message-ID: <000501bf811e$1b8bec20$01fea8c0@BIGBOY>
To: <www-style@w3.org>
Hi All.

Wondering if you could offer any advice on something I feel SHOULD be
working.

Using CSS with XML in IE5, specifically trying to create a list. Now, if I
do this:

<?xml version="1.0" ?>
<?xml-stylesheet type="text/css" href="listtest.css" ?>
<top>
 <point>no 1</point>
 <point>no 2</point>
 <point>no 3</point>
 <point>no 3</point>
</top>

And use this CSS:
point
{
display: block
}

It all works as expected - each node's text on a new line. However, if I
then use this as the CSS:

point
{
display: list-item
}

It seems to ignore the style and just displays it all on one line. My
understand is that IE5 supports list-item as a display attribute, in HTML at
least.

So, am I doing something stupid here or is it just IE5's support? Is there
another way to display this as a list (without resorting to <HTML:LI>) ??

Cheers,

Mark
Received on Sunday, 27 February 2000 07:26:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:04 GMT