Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<refentry xmlns=""
          version="5.0" xml:id="generate.css.header">
<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
<refpurpose>Insert generated CSS styles in HEAD element</refpurpose>

<src:fragment xml:id="generate.css.header.frag">
<xsl:param name="generate.css.header" select="0"/>


<para>The stylesheets are capable of generating both default
and custom CSS stylesheet files.  The parameters 
<parameter>docbook.css.source</parameter>, and
<parameter>custom.css.source</parameter> control that feature.</para>

<para>If you require that CSS styles reside in the HTML 
<tag>HEAD</tag> element instead of external CSS files,
then set the <parameter>generate.css.header</parameter>
parameter to nonzero (it is zero by default).
Then instead of generating the CSS in external files,
they are wrapped in <tag>style</tag> elements in
the <tag>HEAD</tag> element of each HTML output file.

New to GrepCode? Check out our FAQ X