f:orderedlist-item-number

f:orderedlist-item-number — Returns the item number of an item in an ordered list.

Function:
{http://docbook.org/ns/docbook/functions}orderedlist-item-number#1
Defined in:
modules/functions.xsl
Used in:
main.xsl

Synopsis

f:orderedlist-item-number($node as element(db:listitem)) as xs:integer+

Description

Returns the item number of a list item. This is always an integer, even if it will be formatted as a letter, roman numeral, or other symbol. For nested lists, this function returns the fully qualified item number. For example, for the second item in the fourth item in the third item of a list, it will return (2, 4, 3).