CSS Lists in XML

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 UTC