<RefEntry id="X25output-dirX25">
<!-- This file is generated automatically from the DSSSL source. -->
<!-- Do not edit this file! -->
<?html-filename output-dir.html>

<RefMeta>
  <RefEntryTitle>%output-dir%</RefEntryTitle>
  <RefMiscInfo Role="file">dbparam.dsl</RefMiscInfo>
</RefMeta>

<RefNameDiv>
  <RefName>%output-dir%</RefName>
  <RefPurpose>The directory to which HTML files should be written</RefPurpose>
</RefNameDiv>

<RefSynopsisDiv><Title>Synopsis</Title>
<Synopsis>
%output-dir%
</Synopsis>
</RefSynopsisDiv>

<RefSect1><Title>Description</Title>

<para>
The output directory can be set in two ways. An individual document
can specify <literal>output-dir="directory"</literal> in the dbhtml PI, or the stylesheet
can specify the <literal>%output-dir%</literal>. If both are specified, the PI value
will be used.
</para>
<para>
Note: the output directory is ignored if <literal>use-output-dir</literal> is not <literal>#t</literal>.
(This allows the author to test stylesheets and documents without
accidentally overwriting existing documents.)</para>


</RefSect1>
<RefSect1><Title>Source Code</Title>

<ProgramListing>
(define %output-dir%
  ;; The directory to which HTML files should be written
  #f)
</ProgramListing>
</RefSect1>

</RefEntry>
