f:step-number

f:step-number — Returns the step number of a step in an procedure.

Function:
{http://docbook.org/ns/docbook/functions}step-number#1
Defined in:
modules/functions.xsl
Used in:
modules/functions.xsl
Used by:
f:step-numeration()

Synopsis

f:step-number($node as element(db:step)) as xs:integer+

Description

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