I am transforming some TEI XML to HTML, and I need to list various parts of the document, preserving the numeration of the original.
Regular numbered lists are no problem, and any inconsistencies in the source numbering can be accommodated with the value attribute; but I am having problems getting around variations when the items use letters or symbols according to something other than a natural sequence, eg
<ol type="A">
<li value="T">this is Toulouse</li>
<li value="V">this is Vauban</li>
</ol>
Browsers seems to ignore this, and I'm not clear how CSS can help, as browsers seem to ignore the attr() function; unless I just use paragraph and fake up the hanging indentation.
Has anyone done this successfully?