<?xml version="1.0"?>
<!--@+leo-->

<!--@+node:0::@file toc_sbooktoc.xsl-->
<!--@+body-->
<!--@@first <?xml version="1.0"?>-->
<!--@@language html-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="yes"/>

<xsl:variable name="pageCount" select="count(/screenbook/pages/page)"/>

<!--@<< main template >>-->
<!--@+node:1::<< main template >>-->
<!--@+body-->
<!--@@code-->

<xsl:template match="/">
  <html>
    
<!--@<< head >>-->
	<!--@+node:1::<< head >>-->
	<!--@+body-->
	<!--@@code-->
	
	<head>
	  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta>
	  <link rel='stylesheet' type='text/css' href='sbook1.css'></link>
	  <script src='sbook.js'></script>
	  <style type="text/css">
	  BODY {margin-left:0}
	  </style>
	</head>
	<!--@-body-->
	<!--@-node:1::<< head >>-->

    
<!--@<< body >>-->
	<!--@+node:2::<< body >>-->
	<!--@+body-->
	<!--@@code-->
	
	<body>
	<table border="0" align="center"><tr><td>
	
	<p class="head1">
	  Screenbooks Table of Contents
	</p>
	<br/>
	<span class="head1"><div align="center"><a href="sbframetoc_ie.htm">View this bookshelf in a Frame</a></div></span>
	<br/>
	<xsl:for-each select="bookshelf/category">
	  <span class="level1">
	    <xsl:value-of select="@alias"/>
	  </span>
	  <br/>
	  <xsl:for-each select="subcategory">
	     <span class="level2">
	       <xsl:value-of select="@alias"/>
	     </span>
	     <br/>
	     <xsl:for-each select="format">
	        <xsl:for-each select="sbook">
			   <span class="level4">
	             <a>
	                <xsl:attribute name="name">#a<xsl:value-of select="position()"/></xsl:attribute>
	                <xsl:attribute name="href"><xsl:value-of select="../../../@name"/>/<xsl:value-of select="../../@name"/>/<xsl:value-of select="../@name"/>/<xsl:value-of select="title"/>/slide01.htm</xsl:attribute>
					<xsl:value-of select="alias"/>
	             </a>
	           </span>
	           <br/>
	        </xsl:for-each>
	     </xsl:for-each>
	  </xsl:for-each>
	</xsl:for-each>
	
	<div class="br2"></div>
	</td></tr></table>
	</body>
	

	<!--@-body-->
	<!--@-node:2::<< body >>-->

  </html>
</xsl:template>
<!--@-body-->
<!--@-node:1::<< main template >>-->

</xsl:stylesheet>
<!--@-body-->
<!--@-node:0::@file toc_sbooktoc.xsl-->
<!--@-leo-->