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

<!--@+node:0::@file webtoc_sbooktoc_ns.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>
	</head>
	<!--@-body-->
	<!--@-node:1::<< head >>-->

    
<!--@<< body >>-->
	<!--@+node:2::<< body >>-->
	<!--@+body-->
	<body onload='sync_ns()'>
	<table width="300" class="nshead1">
	<tr><td class="nshead1">
	  Leo - The Literate Editor with Outlines
	</td></tr>
	</table>
	<form style='margin-bottom:0'>
	<select name='pageType'>
	<option selected="true">Slide View</option>
	<option>All Slides on one Page</option>
	<option>Text with Icons</option>
	<option>Page Titles</option>
	<option>Titles with Thumbnails</option>
	</select>
	<br/>
	<xsl:for-each select="bookshelf/category">
	  <table width="300" class="nslevel1">
	    <tr><td class="nslevel1">
	    <xsl:value-of select="@name"/>
	    </td></tr>
	  </table>
	  <xsl:for-each select="subcategory">
	     <table width="300" class="nslevel2">
	       <tr><td class="nslevel2">
	       Leo <xsl:value-of select="@name"/>
	     </td></tr>
	     </table>
	     <xsl:for-each select="format">
	 	 <!--
	        <table width="300">
	          <tr><td class="nslevel3">
	          <xsl:value-of select="@alias"/>
	          </td></tr>
	        </table>
			-->
	        <table border="0"><tr><td nowrap="true">    
	        <xsl:for-each select="sbook">
	           <img src="wsquare.gif" border="0" align="left"/>
	           <span class="nslevel4">
	             <a>
	                <xsl:attribute name="name">#a<xsl:value-of select="position()"/></xsl:attribute>
	                <xsl:attribute name="href">javascript:select_ns('<xsl:value-of select="title"/>/slide01.htm')</xsl:attribute>
					<xsl:value-of select="alias"/>
	             </a>
	           </span>
	           <br/>
	        </xsl:for-each>
	        </td></tr></table>
	     </xsl:for-each>
	  </xsl:for-each>
	</xsl:for-each>
	<br/>
	</form>
	<hr/>
	</body>

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

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

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