Yes, it's possible. Use xml:id
and <xref linkend="..."/>
:
<orderedlist numeration="arabic">
<listitem xml:id="foo">
<para>Do foo</para>
</listitem>
<listitem xml:id="bar">
<para>Do bar</para>
</listitem>
<listitem>
<para>Repeat steps <xref linkend="foo"/> to <xref linkend="bar"/>.</para>
</listitem>
<listitem>
<para>Do baz</para>
</listitem>
</orderedlist>
When processing a DocBook source file containing the above markup with DocBook-XSL, you will get "Repeat steps 1 to 2" in the resulting HTML (or PDF).
If you are not using DocBook 5, change xml:id
to id
.