<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="5.0" xml:id="draft.mode"> <refmeta> <refentrytitle>draft.mode</refentrytitle> <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo> <refmiscinfo class="other" otherclass="value">no</refmiscinfo> <refmiscinfo class="other" otherclass="value">yes</refmiscinfo> <refmiscinfo class="other" otherclass="value">maybe</refmiscinfo> </refmeta> <refnamediv> <refname>draft.mode</refname> <refpurpose>Select draft mode</refpurpose> </refnamediv> <refsynopsisdiv> <src:fragment xml:id="draft.mode.frag"> <xsl:param name="draft.mode">maybe</xsl:param> </src:fragment> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>Selects draft mode. If <parameter>draft.mode</parameter> is <quote><literal>yes</literal></quote>, the entire document will be treated as a draft. If it is <quote><literal>no</literal></quote>, the entire document will be treated as a final copy. If it is <quote><literal>maybe</literal></quote>, individual sections will be treated as draft or final independently, depending on how their <literal>status</literal> attribute is set. </para> </refsection> </refentry>