]> git.stg.codes - stg.git/blob - doc/xslt/params/make.single.year.ranges.xml
First stage of ticket 10
[stg.git] / doc / xslt / params / make.single.year.ranges.xml
1 <refentry xmlns="http://docbook.org/ns/docbook"
2           xmlns:xlink="http://www.w3.org/1999/xlink"
3           xmlns:xi="http://www.w3.org/2001/XInclude"
4           xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
5           xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6           version="5.0" xml:id="make.single.year.ranges">
7 <refmeta>
8 <refentrytitle>make.single.year.ranges</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>make.single.year.ranges</refname>
13 <refpurpose>Print single-year ranges (e.g., 1998-1999)</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <src:fragment xml:id="make.single.year.ranges.frag">
18 <xsl:param name="make.single.year.ranges" select="0"/></src:fragment>
19 </refsynopsisdiv>
20
21 <refsection><info><title>Description</title></info>
22
23 <para>If non-zero, year ranges that span a single year will be printed
24 in range notation (1998-1999) instead of discrete notation
25 (1998, 1999).</para>
26
27 </refsection>
28 </refentry>