$label-wrapper — Additional wrapper around label and separator.

Parameter:
{}label-wrapper
Defined in:
param.xsl
Used in:
main.xsl, param.xsl
Since:
2.7.2

Synopsis

$label-wrapper as xs:string? := ()

Description

By default, when the stylesheets output a title for a labeled element (chapter, section, table, etc.), the label is wrapped in a span with the class “label” and the separator (if there is one) between the label and the content is wrapped in a span with the class “sep”. For example:

  |<h3><span class="label">3</span><span class="sep">. </span>Section Title</h3>

If $label-wrapper is non-empty, then the label and the separator are further wrapped in a span with a class that contains the string value of $label-wrapper. For example, if $label-wrapper is “lwrap”:

  |<h3><span class="lwrap">
  |  <span class="label">3</span><span class="sep">. </span>
  |</span>Section Title</h3>

This allows you to group all of the parts together for CSS styling.