2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
4 xmlns:xlink="http://www.w3.org/1999/xlink"
5 exclude-result-prefixes="doc"
8 <!-- ********************************************************************
9 $Id: pi.xsl 7644 2008-01-16 11:04:07Z xmldoc $
10 ********************************************************************
12 This file is part of the XSL DocBook Stylesheet distribution.
13 See ../README or http://docbook.sf.net/release/xsl/current/ for
14 copyright and other information.
16 ******************************************************************** -->
18 <doc:reference xmlns=""><info><title>manpages Processing Instruction Reference</title>
19 <releaseinfo role="meta">
20 $Id: pi.xsl 7644 2008-01-16 11:04:07Z xmldoc $
23 <partintro xml:id="partintro">
24 <title>Introduction</title>
25 <para>This is generated reference documentation for all
26 user-specifiable processing instructions (PIs) in the DocBook
27 XSL stylesheets for manpages output.
29 <para>You add these PIs at particular points in a document to
30 cause specific “exceptions” to formatting/output behavior. To
31 make global changes in formatting/output behavior across an
32 entire document, it’s better to do it by setting an
33 appropriate stylesheet parameter (if there is one).</para>
39 <!-- ==================================================================== -->
41 <doc:pi name="dbman_funcsynopsis-style" xmlns="">
42 <refpurpose>Specifies presentation style for a funcsynopsis.</refpurpose>
44 <para>Use the <tag class="xmlpi">dbman
45 funcsynopsis-style</tag> PI as a child of a
46 <tag>funcsynopsis</tag> or anywhere within a funcsynopsis
47 to control the presentation style for output of all
48 <tag>funcprototype</tag> instances within that funcsynopsis.</para>
51 <synopsis><tag class="xmlpi">dbman funcsynopsis-style="kr"|"ansi"</tag></synopsis>
55 <varlistentry><term>funcsynopsis-style="kr"</term>
57 <para>Displays the <tag>funcprototype</tag> in K&R style</para>
60 <varlistentry><term>funcsynopsis-style="ansi"</term>
62 <para>Displays the <tag>funcprototype</tag> in ANSI style</para>
67 <refsee role="params">
68 <para><parameter>man.funcsynopsis.style</parameter></para>
71 <xsl:template name="pi.dbman_funcsynopsis-style">
72 <xsl:param name="node" select="."/>
73 <xsl:call-template name="pi-attribute">
74 <xsl:with-param name="pis" select="$node/processing-instruction('dbman')"/>
75 <xsl:with-param name="attribute" select="'funcsynopsis-style'"/>