1 <refentry xmlns="http://docbook.org/ns/docbook"
\r
2 xmlns:xlink="http://www.w3.org/1999/xlink"
\r
3 xmlns:xi="http://www.w3.org/2001/XInclude"
\r
4 xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
\r
5 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
\r
6 version="5.0" xml:id="draft.mode">
\r
8 <refentrytitle>draft.mode</refentrytitle>
\r
9 <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
\r
10 <refmiscinfo class="other" otherclass="value">no</refmiscinfo>
\r
11 <refmiscinfo class="other" otherclass="value">yes</refmiscinfo>
\r
12 <refmiscinfo class="other" otherclass="value">maybe</refmiscinfo>
\r
15 <refname>draft.mode</refname>
\r
16 <refpurpose>Select draft mode</refpurpose>
\r
20 <src:fragment xml:id="draft.mode.frag">
\r
21 <xsl:param name="draft.mode">maybe</xsl:param>
\r
25 <refsection><info><title>Description</title></info>
\r
27 <para>Selects draft mode. If <parameter>draft.mode</parameter> is
\r
28 <quote><literal>yes</literal></quote>, the entire document will be treated
\r
29 as a draft. If it is <quote><literal>no</literal></quote>, the entire document
\r
30 will be treated as a final copy. If it is <quote><literal>maybe</literal></quote>,
\r
31 individual sections will be treated as draft or final independently, depending
\r
32 on how their <literal>status</literal> attribute is set.
\r