]> granicus.if.org Git - docbook-dsssl/commitdiff
Patch 521141: document variablelist pi
authorNorman Walsh <ndw@nwalsh.com>
Thu, 6 Jun 2002 13:26:56 +0000 (13:26 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Thu, 6 Jun 2002 13:26:56 +0000 (13:26 +0000)
xsl/params/variablelist.as.blocks.xml

index 40d052156bdb4a2cd1668ecb0e61819a827548a3..a368254ca6fe15bb166fc0b765545306b5880568 100644 (file)
@@ -23,5 +23,21 @@ blocks.</para>
 unattractive lists. By setting this parameter, you can force the stylesheets
 to produce block markup instead of proper lists.</para>
 
+<para>You can override this setting with a processing instruction as the
+child of <sgmltag>variablelist</sgmltag>: <sgmltag class="pi">dbfo
+list-presentation="blocks"</sgmltag> or <sgmltag class="pi">dbfo
+list-presentation="lists"</sgmltag></para>
+
+<programlisting><![CDATA[  <variablelist>
+       <?dbfo list-presentation="list"?>
+       <varlistentry>
+         <term>list</term>
+         <listitem>
+               <para>
+                 Formatted as a list even if variablelist.as.blocks is set to 1.
+         </listitem>
+       </varlistentry>
+  </variablelist>]]></programlisting>
 </refsect1>
+
 </refentry>