XML & ordered lists

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Mike
Date:  
To: PLUG
Subject: XML & ordered lists
In my quest to get a better handle on understanding XML,
I have run across a slight problem.

I am trying to create an ordered list, but the list fails
to display as expected (type and incrementing).

Here is a snippet from the dtd:

   <!ELEMENT directions (step+)>
   <!ATTLIST step 
       optional CDATA #IMPLIED>
   <!ELEMENT step (#PCDATA)>
--------------------------------------------
Here is a snippet from the .css


directions {display:block;}
step {display:list-item;font-size:12px;list-style-type:upper-roman}
---------------------------------------------
Here is some XML:

<directions>
<step>Do this</step>
<step>Do that</step>
</directions>
---------------------------------------------
Here is what I expect:

I Do this
II Do that
---------------------------------------------

What actually displays is a circular bullet for each step.
The type of list item and the fact that it does not increment
is not working as expected. Am I missing something simple
or expecting too much?

-M
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss