f:section-depth

f:section-depth — Returns the section depth of a node.

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

Synopsis

f:section-depth($node as element()?) as xs:integer

Description

Returns the section depth of a node, that is, how many section elements are among its ancestors.