Dear Hussein,

Thank you for your answer, the options startingnumber (equivalent to the
HTML attribute start of the ol tag) and numeration ( equivalent to the HTML
attribute type of the ol tag) are known to me (as reference:
https://www.w3schools.com/tags/tag_ol.asp) and have already been
implemented.
We are talking here about the value attribute of the li tag (as reference:
https://www.w3schools.com/tags/tag_li.asp) in this way it is possible to
set inside a list (probably quite uncommon) the value of the current item
(and consequently the start for the next set of items.
It would be nice that this would be in the xmlmind docbook editor but this
requires probably that it should be in the docbook specifications first.
Are there plans for this (to your knowledge) or where should this be
requested?

Thanks for the help.

Best Regards,

Albert


On Fri, Oct 1, 2021 at 5:02 PM Hussein Shafie <huss...@xmlmind.com> wrote:

> 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

Reply via email to