<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE xsl:stylesheet [<!ENTITY nbsp " ">]>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<!--
SWFTools documentation stylesheet.
</title>
</head>
<body style="margin-left:0px;margin-top:0px;" bgcolor="#ffffff">
- <table>
- <tr>
- <td>
- <h1>
- <b>
- <font class="dochead">
- <xsl:value-of select="title"/>
- </font>
- </b>
- </h1>
- </td>
- </tr>
- <tr>
- <td>
- <img src="line.gif" alt="line"/>
- </td>
- </tr>
- <tr>
- <td class="alttext"><b>Summary:</b> <xsl:apply-templates select="abstract"/></td>
- </tr>
- <tr>
- <td>
- <img src="line.gif" alt="line"/>
- </td>
- </tr>
+
+ <h1>
+ <b>
+ <font class="dochead" align="center">
+ <xsl:value-of select="title"/>
+ </font>
+ </b>
+ </h1>
+
+ <hr/>
+ <table cellspacing="0" cellpadding="0">
+ <tr>
+ <xsl:apply-templates select="chapter" mode="toc"/>
+ </tr>
</table>
+ <hr/>
<xsl:apply-templates select="chapter"/>
+
+ <hr/>
+ <table cellspacing="0" cellpadding="0">
+ <tr>
+ <td>__prevlink__</td>
+ <td width="100%" align="center"><!--SWFC Manual: -->__currentchapter__</td>
+ <td>__nextlink__</td>
+ </tr>
+ </table>
+ <hr/>
+
</body>
</html>
</xsl:template>
-
- <xsl:template match="mail">
- <a href="mailto:{@link}">
- <xsl:value-of select="."/>
- </a>
+
+ <xsl:template match="chapter" mode="toc">
+ <xsl:variable name="chid2"><xsl:number/></xsl:variable>
+ <td>
+ chapterlink<xsl:value-of select="$chid2"/>
+ </td>
+ <td width="20"> </td>
</xsl:template>
-
+
<xsl:template match="chapter">
+
+ <xsl:text disable-output-escaping = "yes">
+<!-- snip:chapter !!!"</xsl:text><xsl:value-of select="@title"/><xsl:text disable-output-escaping = "yes">"!!! -->
+ </xsl:text>
+
<xsl:variable name="chid"><xsl:number/></xsl:variable>
- <xsl:choose>
- <xsl:when test="title">
- <p class="chaphead">
- <font class="chapnum">
- <a name="doc_chap{$chid}"><xsl:number/>.</a>
- </font>
- <xsl:value-of select="title"/>
- </p>
- </xsl:when>
- <xsl:otherwise>
- <p class="chaphead">
- <font class="chapnum">
- <a name="doc_chap{$chid}"><xsl:number/>.</a>
- </font>
- </p>
- </xsl:otherwise>
- </xsl:choose>
+
+ <p class="chaphead">
+ <font class="chapnum">
+ <a name="doc_chap{$chid}"><xsl:number/>.</a>
+ </font>
+ <xsl:value-of select="@title"/>
+ </p>
+
<xsl:apply-templates>
<xsl:with-param name="chid" select="$chid"/>
</xsl:apply-templates>
+
+ <xsl:text disable-output-escaping = "yes">
+<!-- snip:/chapter -->
+ </xsl:text>
</xsl:template>
+
+ <xsl:template match="mail">
+ <a href="mailto:{@link}">
+ <xsl:value-of select="."/>
+ </a>
+ </xsl:template>
+
<xsl:template match="section">
<xsl:param name="chid"/>
</xsl:apply-templates>
</xsl:template>
- <xsl:template match="figure">
- <xsl:with-param name="chid"/>
- <xsl:variable name="fignum">
- <xsl:number level="any" from="chapter" count="figure"/>
- </xsl:variable>
- <xsl:variable name="figid">doc_chap<xsl:value-of select="$chid"/>_fig<xsl:value-of select="$fignum"/></xsl:variable>
- <br/>
- <a name="{$figid}"/>
- <table cellspacing="0" cellpadding="0" border="0">
- <tr>
- <td class="infohead" bgcolor="#7a5ada">
- <p class="caption">
- <xsl:choose>
- <xsl:when test="@caption">
- Figure <xsl:value-of select="$chid"/>.<xsl:value-of select="$fignum"/>: <xsl:value-of select="@caption"/>
- </xsl:when>
- <xsl:otherwise>
- Figure <xsl:value-of select="$chid"/>.<xsl:value-of select="$fignum"/>
- </xsl:otherwise>
- </xsl:choose>
- </p>
- </td>
- </tr>
- <tr>
- <td align="center" bgcolor="#ddddff">
- <xsl:choose>
- <xsl:when test="@short">
- <img src="{@link}" alt="Fig. {$fignum}: {@short}"/>
- </xsl:when>
- <xsl:otherwise>
- <img src="{@link}" alt="Fig. {$fignum}"/>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- </table>
- <br/>
- </xsl:template>
-
<!--figure without a caption; just a graphical element-->
<xsl:template match="fig">
<center>