f:orderedlist-startingnumber

f:orderedlist-startingnumber — Returns the starting number of an ordered list.

Function:
{http://docbook.org/ns/docbook/functions}orderedlist-startingnumber#1
Defined in:
modules/functions.xsl
Used in:
modules/functions.xsl, modules/lists.xsl
Used by:
f:orderedlist-startingnumber(), f:orderedlist-item-number()

Synopsis

f:orderedlist-startingnumber($list as element(db:orderedlist)) as xs:integer

Description

In most orderedlist elements, the first item in the list is item number “1”. However, the startingnumber attribute can specify a different initial number and, in the case of continued lists, the starting number depends on the ending number of the preceding list.

The f:orderedlist-startingnumber() returns the number of the first list item in an ordered list.