1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
|
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version='1.0'>
<xsl:output method="html"/>
<xsl:include href="config.xsl"/>
<xsl:include href="html_xt_common.xsl"/>
<xsl:include href="html_functions.xsl"/>
<!-- ==================================================================== -->
<!-- Variables -->
<xsl:param name="imgroot">../images/</xsl:param>
<!-- Variables -->
<!-- ==================================================================== -->
<xsl:template match="/">
<HTML><HEAD>
<LINK REL="stylesheet" TYPE="text/css" HREF="virtdoc.css"/>
<xsl:comment>Generated with html_xt.xsl</xsl:comment>
<TITLE><xsl:value-of select="/book/title"/>
</TITLE></HEAD>
<!-- JavaScript Bits -->
<Script Language="JavaScript">
function lastmod()
{ var strng='<TR><TD ALIGN="RIGHT" COLSPAN="2" VALIGN="middle"><P CLASS="vtabfoot">Last Modified: '+document.lastModified+'</P></TD></TR>'
document.write(strng);
}
</Script>
<!-- JavaScript Bits -->
<BODY CLASS="vdocbody">
<!-- Top of Page -->
<TABLE CLASS="vtabhead" WIDTH="100%">
<TR><TD><xsl:value-of select="/book/title"/></TD></TR>
</TABLE>
<!-- Normal Doc Content -->
<!-- Doc Contents Content -->
<DIV CLASS="chapter">
<A NAME="contents"/>
<H1>Table of Contents</H1>
<UL>
<xsl:for-each select="/book/chapter">
<LI class="toc1">
<A CLASS="toc1"><xsl:attribute name="HREF">#<xsl:value-of select="./@label" /></xsl:attribute><xsl:value-of select="./@label"/> - <xsl:value-of select="./title"/></A>
</LI>
<UL>
<xsl:for-each select="./sect1">
<LI class="toc2">
<A CLASS="toc2"><xsl:attribute name="HREF">#<xsl:value-of select="../@label" /><xsl:value-of select="./@id" /></xsl:attribute><xsl:value-of select="./title"/></A>
</LI>
<UL>
<xsl:for-each select="./sect2">
<LI class="toc3"><A CLASS="toc3"><xsl:attribute name="HREF">#<xsl:value-of select="../../@label" /><xsl:value-of select="../@id" /><xsl:value-of select="./@id" /></xsl:attribute><xsl:value-of select="./title"/></A></LI>
</xsl:for-each>
</UL>
</xsl:for-each>
</UL>
</xsl:for-each>
</UL>
<!-- custom non generated links -->
<H1>Appendix Sections</H1>
<A CLASS="toc1" HREF="#_FunctionIndex">Appendix A - Function Index</A>
</DIV>
<HR/>
<!-- Doc Contents Content End -->
<!-- <xsl:apply-templates select="/book/chapter"/> -->
<xsl:apply-templates />
<!-- Apendix sections -->
<A NAME="_FunctionIndex"/>
<TABLE CLASS="chapsep" WIDTH="100%"><TR><TD><P CLASS="chapseptxt">Appendix A</P>
</TD></TR></TABLE>
<DIV CLASS="chapter">
<H1 CLASS="chaphead">Function Index</H1>
<TABLE CLASS="gentable" ALIGN="center">
<TR CLASS="gentabhead"><TD CLASS="gentabcells"><P CLASS="gentabheadp">Function Name (hyperlinked)</P></TD><TD CLASS="gentabcells"><P CLASS="gentabheadp">Function Syntax</P></TD></TR>
<xsl:for-each select="/book/*//funcsynopsis">
<xsl:sort select="funcdef/function" data-type="text"/>
<xsl:variable name="currentfn"><xsl:value-of select="./funcdef/function" /></xsl:variable>
<TR><TD CLASS="funcindexitem">
<SPAN><A><xsl:attribute name="HREF"><xsl:text>#fn_</xsl:text><xsl:value-of select="./funcdef/function" /></xsl:attribute>
<xsl:value-of select="./funcdef/function" /></A></SPAN>
</TD><TD><xsl:apply-templates select="."/></TD>
</TR>
</xsl:for-each>
</TABLE>
</DIV>
<HR/>
<!-- Normal Doc Content -->
<BR />
<TABLE CLASS="vtabfoot" WIDTH="100%"><TR><TD>
<IMG><xsl:attribute name="SRC"><xsl:value-of select="$imgroot"/>misc/virtblck.jpg</xsl:attribute></IMG>
</TD>
<TD ALIGN="RIGHT" VALIGN="middle">
<P CLASS="vtabfoot">Copyright <xsl:value-of select="/book/bookinfo/copyright/year"/>, <xsl:value-of select="/book/bookinfo/copyright/holder"/></P>
</TD></TR><Script Lanuage="JavaScript">lastmod();</Script>
</TABLE>
<!-- Bottom of Page -->
</BODY></HTML>
</xsl:template>
</xsl:stylesheet>
|