DocBook xslTNG Reference

$copyright-collapse-years

$copyright-collapse-years — Collapse sequential copyright years into a range?

Parameter:
{}copyright-collapse-years
Defined in:
param.xsl
Used in:
param.xsl, modules/info.xsl

Synopsis

  |$copyright-collapse-years := true()

Description

If true, sequential copyright years will be collapsed into a range.

For example,

<copyright>
<year>1993</year>
<year>1997</year>
<year>1998</year>
<year>1999</year>
<holder>Jane Smith</holder>
</copyright>

might be rendered: “Copyright © 1993, 1997–1999 Jane Smith”.

If $copyright-collapse-years is false, that wold be rendered: “Copyright © 1993, 1997, 1998, 1999 Jane Smith”.

See also $copyright-year-range-separator and $copyright-year-separator.

☀
$copyright-collapse-years
Synopsis
Description
$control-js
$copyright-year-range-separator
Copyright © 2020–2023 Norman Walsh.
Table of Contents

Loading…