On 9/30/21 14:59, Albert wrote:
When we have in HTML the <li> tag we can here also have an attribute
value like in:
<ol>
<li value='3'> level 1
<li> follow up
</ol>
this results in HTML to:
image.png
with doxygen I try to make a docbook out of it and currently I have it
translated to:
<orderedlist>
<listitem>
<para>level 1 </para>
</listitem>
<listitem>
<para>follow up </para>
</listitem>
</orderedlist>
and this results in:
image.png
when I add the attribute value='3' to the first <listitem> I get the
warning:
attribute "value" not allowed at this point; ignored
Is there a way to accomplish this value possibility in docbook?
Yes, DocBook orderedlist (*not* its child element, listitem) has an
equivalent startingnumber attribute.
Note that this attribute is not supported by DocBook v4. It has been
added to DocBook v5+.
See https://tdg.docbook.org/tdg/5.1/orderedlist.html
See https://tdg.docbook.org/tdg/5.0/orderedlist.html
See https://tdg.docbook.org/tdg/4.5/orderedlist.html
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support