"Author" Display for display:list-item

<oXygen/> general issues.
Posts: 2
Joined: Mon Dec 17, 2007 6:03 pm

"Author" Display for display:list-item

Post by laura.kelly » Mon Dec 17, 2007 6:18 pm

I'm trying to set up an Author view CSS to use with my XML DTD. I've defined list-item this way:

list-item {

In the Author view, this shows up correctly as the lower-case letter "a" for the first item, but all subsequent list items also display with "a" and the correctly-incremented letter superimposed on the "a". I've tried variations of the list-style definition, and if it's specified at all, the items in 2+ have the value for the first item superimposed.

IE renders this as I expect, with just the consecutive letters. Mozilla just renders "0" for all of them, and Opera behaves the same way Oxygen does.

Anyone know how to get around this problem (short of changing my XML DTD)?


Posts: 7099
Joined: Fri Jul 09, 2004 5:18 pm

Post by Radu » Mon Dec 17, 2007 6:49 pm

Dear Laura,

Thank you for contacting us.
We tried to reproduce the problem using the sample CSS below:

Code: Select all

root, list {
display: block

list_item {
and a sample XML:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="test.css"?>
and the list items seem to be correctly rendered.

Can you send us to our support email address (support at oxygenxml dot com) some screen shots with how the XML is rendered in Oxygen and how it is rendered in IE?

Radu Coravu
<oXygen/> XML Editor

Posts: 2
Joined: Mon Dec 17, 2007 6:03 pm

My dumb mistake...

Post by laura.kelly » Mon Dec 17, 2007 7:22 pm


I tested with your example and got normal results, so I looked more closely in my CSS and found the problem.

(Which, if you're curious, was a errant display:inherit on the p element inside list-item.)

Sorry for the trouble.
lk :oops:

Post Reply