Ordered lists (
ol) are usually numbered in XHTML output using numerals. If
you want to change the numbering to alphabetical, do the following:
- Define a custom outputclass value and set it as an attribute of the
ordered list, as in the following example:
<ol outputclass="number-alpha">
<li>A</li>
<li>B</li>
<li>C</li>
</ol>
- Add the following code snippet in a custom CSS file:
ol.number-alpha{
list-style-type:lower-alpha;
}
- Edit the DITA transformation scenario and configure the following parameters:
- args.css parameter to reference the custom CSS file appended
earlier
- args.copycss parameter set to true.