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

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" ?>
 <point>no 1</point>
 <point>no 2</point>
 <point>no 3</point>
 <point>no 3</point>

And use this CSS:
display: block

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

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

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>) ??


Received on Sunday, 27 February 2000 07:26:23 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:53 UTC