2 <!--#############################################################################
3 |- #############################################################################
6 + ############################################################################## -->
9 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
10 xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
11 exclude-result-prefixes="doc" version='1.0'>
16 <!--############################################################################# -->
17 <!-- DOCUMENTATION -->
18 <doc:reference id="abstract" xmlns="">
20 <releaseinfo role="meta">
23 <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
24 <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
27 <year>2000</year> <year>2001</year><year>2002</year><year>2003</year>
28 <holder>Ramon Casellas</holder>
32 <title>Processing Instructions</title>
35 <section><title>Introduction</title>
42 <doc:template match="processing-instruction()" xmlns="">
43 <refpurpose> Processing Instruction XSL template. </refpurpose>
49 <xsl:template match="processing-instruction()">
52 <xsl:template match="processing-instruction('rcas')">
53 <xsl:processing-instruction name="dbhtml">
54 <xsl:value-of select="."/>
55 </xsl:processing-instruction>
58 <xsl:template match="processing-instruction('db2latex')">
64 <xsl:template name="process.cmdsynopsis.list">
65 <xsl:param name="cmdsynopses"/><!-- empty node list by default -->
66 <xsl:param name="count" select="1"/>
69 <xsl:when test="$count>count($cmdsynopses)"></xsl:when>
71 <xsl:variable name="cmdsyn" select="$cmdsynopses[$count]"/>
75 <xsl:attribute name="href">
76 <xsl:call-template name="label.id">
77 <xsl:with-param name="object" select="$cmdsyn"/>
82 <xsl:when test="$cmdsyn/@xreflabel">
83 <xsl:call-template name="xref.xreflabel">
84 <xsl:with-param name="target" select="$cmdsyn"/>
89 <xsl:call-template name="xref.cmdsynopsis">
90 <xsl:with-param name="target" select="$cmdsyn"/>
91 </xsl:call-template>-->
97 <xsl:call-template name="process.cmdsynopsis.list">
98 <xsl:with-param name="cmdsynopses" select="$cmdsynopses"/>
99 <xsl:with-param name="count" select="$count+1"/>
105 <xsl:template match="processing-instruction('dbcmdlist')">
106 <xsl:variable name="cmdsynopses" select="..//cmdsynopsis"/>
108 <xsl:if test="count($cmdsynopses)<1">
109 <xsl:message><xsl:text>No cmdsynopsis elements matched dbcmdlist PI, perhaps it's nested too deep?</xsl:text>
114 <xsl:call-template name="process.cmdsynopsis.list">
115 <xsl:with-param name="cmdsynopses" select="$cmdsynopses"/>
120 <!-- ==================================================================== -->
122 <xsl:template name="process.funcsynopsis.list">
123 <xsl:param name="funcsynopses"/><!-- empty node list by default -->
124 <xsl:param name="count" select="1"/>
127 <xsl:when test="$count>count($funcsynopses)"></xsl:when>
129 <xsl:variable name="cmdsyn" select="$funcsynopses[$count]"/>
133 <xsl:attribute name="href">
134 <xsl:call-template name="label.id">
135 <xsl:with-param name="object" select="$cmdsyn"/>
140 <xsl:when test="$cmdsyn/@xreflabel">
141 <xsl:call-template name="xref.xreflabel">
142 <xsl:with-param name="target" select="$cmdsyn"/>
147 <xsl:call-template name="xref.funcsynopsis">
148 <xsl:with-param name="target" select="$cmdsyn"/>
156 <xsl:call-template name="process.funcsynopsis.list">
157 <xsl:with-param name="funcsynopses" select="$funcsynopses"/>
158 <xsl:with-param name="count" select="$count+1"/>
164 <xsl:template match="processing-instruction('dbfunclist')">
165 <xsl:variable name="funcsynopses" select="..//funcsynopsis"/>
167 <xsl:if test="count($funcsynopses)<1">
168 <xsl:message><xsl:text>No funcsynopsis elements matched dbfunclist PI, perhaps it's nested too deep?</xsl:text>
173 <xsl:call-template name="process.funcsynopsis.list">
174 <xsl:with-param name="funcsynopses" select="$funcsynopses"/>
179 <!-- ==================================================================== -->