13e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn<?xml version="1.0"?> <!-- -*- sgml -*- -->
29bec93ccf2eaf7b99d66b47467b8454d869555a2de<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
33e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn
497ab7e73f609de3422002ff3a7b8bc25d021fc2dde<!-- import the common styles -->
597ab7e73f609de3422002ff3a7b8bc25d021fc2dde<xsl:import href="vg-html-common.xsl"/>
69bec93ccf2eaf7b99d66b47467b8454d869555a2de
73e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn
83e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn<!-- use our custom html stylesheet -->
93e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn<xsl:param name="html.stylesheet" select="'vg_basic.css'"/>
10252c6147ef27ce17710887ca542c181f675e83d4de
11252c6147ef27ce17710887ca542c181f675e83d4de
1297ab7e73f609de3422002ff3a7b8bc25d021fc2dde<!-- custom header for html documentation -->
133e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn<xsl:template name="header.navigation">
143e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn  <xsl:param name="prev" select="/foo"/>
153e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn  <xsl:param name="next" select="/foo"/>
163e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn  <xsl:param name="nav.context"/>
173e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn
183e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn  <xsl:variable name="home" select="/*[1]"/>
193e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn  <xsl:variable name="up" select="parent::*"/>
203e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn
213e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn  <xsl:variable name="row1" select="$navig.showtitles != 0"/>
223e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn  <xsl:variable name="row2" select="count($prev) &gt; 0
233e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn                            or (count($up) &gt; 0 
243e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn                            and generate-id($up) != generate-id($home) )
253e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn                            or count($next) &gt; 0"/>
263e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn
273e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn<div>
283e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn<!-- never show header nav stuff on title page -->
293e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn<xsl:if test="count($prev)>0">
303e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn <xsl:if test="$row1 or $row2">
313e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn  <table class="nav" width="100%" cellspacing="3" cellpadding="3" border="0" summary="Navigation header">
323e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn   <xsl:if test="$row2">
333e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn    <tr>
343e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn     <!-- prev -->
353e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn     <td width="22px" align="center" valign="middle">
363e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn      <xsl:if test="count($prev)>0">
373e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn       <a accesskey="p">
383e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn        <xsl:attribute name="href">
393e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn         <xsl:call-template name="href.target">
403e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn          <xsl:with-param name="object" select="$prev"/>
413e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn         </xsl:call-template>
423e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn        </xsl:attribute>
433e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn        <img src="images/prev.png" width="18" height="21" border="0">
443e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn         <xsl:attribute name="alt">
453e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn          <xsl:call-template name="gentext">
463e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn           <xsl:with-param name="key">nav-prev</xsl:with-param>
473e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn          </xsl:call-template>
483e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn         </xsl:attribute>
493e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn        </img>
503e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn       </a>
513e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn      </xsl:if>
523e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn     </td>
533e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn     <!-- up -->
543e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn     <xsl:if test="count($up)>0">
553e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn      <td width="25px" align="center" valign="middle">
563e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn       <a accesskey="u">
573e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn        <xsl:attribute name="href">
583e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn         <xsl:call-template name="href.target">
593e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn          <xsl:with-param name="object" select="$up"/>
603e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn         </xsl:call-template>
613e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn        </xsl:attribute>
623e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn        <img src="images/up.png" width="21" height="18" border="0">
633e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn         <xsl:attribute name="alt">
643e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn          <xsl:call-template name="gentext">
653e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn           <xsl:with-param name="key">nav-up</xsl:with-param>
663e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn          </xsl:call-template>
673e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn         </xsl:attribute>
683e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn        </img>
693e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn       </a>
703e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn      </td>
713e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn     </xsl:if>
723e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn     <!-- home -->
733e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn     <xsl:if test="$home != . or $nav.context = 'toc'">
743e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn      <td width="31px" align="center" valign="middle">
753e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn       <a accesskey="h">
763e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn        <xsl:attribute name="href">
773e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn         <xsl:call-template name="href.target">
783e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn          <xsl:with-param name="object" select="$home"/>
793e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn         </xsl:call-template>
803e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn        </xsl:attribute>
813e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn        <img src="images/home.png" width="27" height="20" border="0">
823e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn         <xsl:attribute name="alt">
833e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn          <xsl:call-template name="gentext">
843e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn           <xsl:with-param name="key">nav-up</xsl:with-param>
853e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn          </xsl:call-template>
863e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn         </xsl:attribute>
873e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn        </img>
883e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn       </a>
893e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn      </td>
903e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn     </xsl:if>
913e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn     <!-- chapter|section heading -->
923e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn     <th align="center" valign="middle">
933e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn       <xsl:apply-templates select="$up" mode="object.title.markup"/>
943e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn     </th>
953e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn     <!-- next -->
963e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn      <td width="22px" align="center" valign="middle">
973e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn        <xsl:if test="count($next)>0">
983e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn         <a accesskey="n">
993e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn          <xsl:attribute name="href">
1003e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn           <xsl:call-template name="href.target">
1013e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn            <xsl:with-param name="object" select="$next"/>
1023e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn           </xsl:call-template>
1033e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn          </xsl:attribute>
1043e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn          <img src="images/next.png" width="18" height="21" border="0">
1053e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn           <xsl:attribute name="alt">
1063e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn            <xsl:call-template name="gentext">
1073e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn             <xsl:with-param name="key">nav-next</xsl:with-param>
1083e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn            </xsl:call-template>
1093e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn           </xsl:attribute>
1103e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn          </img>
1113e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn         </a>
1123e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn        </xsl:if>
1133e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn       </td>
1143e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn      </tr>
1153e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn    </xsl:if>
1163e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn   </table>
1173e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn </xsl:if>
1183e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn</xsl:if>
1193e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn</div>
1203e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn</xsl:template>
1213e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn
1223e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn
1233e986b2d4b4876fe2ae14ed56b47724f5dbbf17dnjn</xsl:stylesheet>
124