Home Forums DITA and XMetaL Discussion Modifying a list item Reply To: Modifying a list item

Su-Laine Yeo

Reply to: Modifying a list item

I believe it's necessary to style based on the @class attribute rather than the element name, because you're trying to override styling that is defined elsewhere using the @class attribute.

For example, if the element is defined in a domain called “foobar-d”, the @class attribute for is probably “+topic/li foobar-d/listintro”

So your stylesheet should say:

[class~=”foobar-d/listintro”] { list-style-type:none; }

Please let us know if this works.