<?xml version="1.0" encoding="UTF-8"?>
<leo_file>
<leo_header file_format="2" tnodes="0" max_tnode_index="131" clone_windows="0"/>
<globals body_outline_ratio="0.411">
	<global_window_position top="9" left="217" height="1030" width="1132"/>
	<global_log_window_position top="115" left="394" height="490" width="445"/>
</globals>
<preferences allow_rich_text="0" tab_width="4" page_width="132" tangle_bat="0" untangle_bat="0" output_doc_chunks="1" defaultTargetLanguage="C" use_header_flag="1">
	
<TSyntaxMemo_options>DBSoft6:OPT#8#67100656GWD#1#0GCL#11#-2147483633WRC#1#0IDS#1#4WRO#3#&gt;|:FON#11#Courier NewFOS#1#9STC#8#16777215STB#7#8388608TBC#0#TBD#1#4EFF#297#17,0,0,16777215,;3,0,16777215,;4,8421504,16777215,;5,0,16777215,;6,255,16777215,;10,16711680,16777215,;11,0,16777215,;12,16711680,16777215,;20,16711680,16777215,;21,255,16777215,;22,255,16777215,;23,16711680,16777215,;40,255,16777215,;42,0,16777215,;43,255,16777215,;45,0,16777215,;46,0,16777215,;GDF#1#0MDF#1#0SDF#1#0BDF#1#0FOC#1#0RMG#1#0LNN#13#MS Sans SerifLNS#1#8LNC#11#-2147483640LNT#1#1LNE#0##END#</TSyntaxMemo_options>
</preferences>
<find_panel_settings ignore_case="1" search_body="1">
	<find_string>of</find_string>
	<change_string></change_string>
</find_panel_settings>
<vnodes>
<v a="ET"><vh>Screenbook Maker XSLT Templates</vh>
<v t="T1"><vh>About Screenbook Maker XSLT files</vh>
<v t="T2"><vh>sbx_*.xsl files</vh></v>
<v t="T3"><vh>toc_*.xsl files</vh></v>
<v t="T4"><vh>opt_*.xsl files</vh></v>
<v><vh>webtoc_*.xsl files</vh></v>
</v>
<v t="T5"><vh>XSLT for sbook.xml </vh>
<v t="T6"><vh>@file sbx_slide.xsl</vh>
<v t="T7"><vh>&lt;&lt; main template &gt;&gt;</vh>
<v t="T8"><vh>&lt;&lt; head &gt;&gt;</vh></v>
<v t="T9"><vh>&lt;&lt; body &gt;&gt;</vh>
<v t="T10"><vh>&lt;&lt; layer 1 &gt;&gt;</vh></v>
<v t="T11"><vh>&lt;&lt; layer 2 &gt;&gt;</vh></v>
<v t="T12"><vh>&lt;&lt; layer 3 &gt;&gt;</vh>
<v t="T13"><vh>&lt;&lt; layer 4 &gt;&gt;</vh></v>
</v>
</v>
</v>
<v t="T14"><vh>&lt;&lt; call-templates &gt;&gt;</vh>
<v t="T15"><vh>&lt;&lt; image 1 &gt;&gt;</vh></v>
<v t="T16"><vh>&lt;&lt; image 2 &gt;&gt;</vh></v>
<v t="T17"><vh>&lt;&lt; copyright &gt;&gt;</vh></v>
<v t="T18"><vh>&lt;&lt; page menu &gt;&gt;</vh></v>
<v t="T19"><vh>&lt;&lt; prev button &gt;&gt;</vh></v>
<v t="T20"><vh>&lt;&lt; next button &gt;&gt;</vh></v>
<v t="T21"><vh>&lt;&lt; slide name &gt;&gt;</vh></v>
</v>
</v>
<v t="T22"><vh>@file sbx_sbook.xsl</vh>
<v t="T23"><vh>&lt;&lt; main template &gt;&gt;</vh>
<v t="T24"><vh>&lt;&lt; head &gt;&gt;</vh></v>
<v t="T25"><vh>&lt;&lt; body &gt;&gt;</vh>
<v t="T26"><vh>&lt;&lt; layer 1 &gt;&gt;</vh></v>
<v t="T27"><vh>&lt;&lt; layer 2 &gt;&gt;</vh></v>
<v t="T28"><vh>&lt;&lt; layer 3 &gt;&gt;</vh></v>
</v>
</v>
<v t="T29"><vh>&lt;&lt; call-templates &gt;&gt;</vh>
<v t="T30"><vh>&lt;&lt; image 1 &gt;&gt;</vh></v>
<v t="T31"><vh>&lt;&lt; copyright &gt;&gt;</vh></v>
</v>
</v>
<v t="T32"><vh>@file sbx_sbook2.xsl</vh>
<v t="T33"><vh>&lt;&lt; main template &gt;&gt;</vh>
<v t="T34"><vh>&lt;&lt; head &gt;&gt;</vh></v>
<v t="T35"><vh>&lt;&lt; body &gt;&gt;</vh>
<v t="T36"><vh>&lt;&lt; layer 1 &gt;&gt;</vh></v>
<v t="T37"><vh>&lt;&lt; layer 2 &gt;&gt;</vh></v>
<v t="T38"><vh>&lt;&lt; layer 3 &gt;&gt;</vh></v>
</v>
</v>
<v t="T39" a="E"><vh>&lt;&lt; call-templates &gt;&gt;</vh>
<v t="T40"><vh>&lt;&lt; image 1 &gt;&gt;</vh></v>
<v t="T41"><vh>&lt;&lt; copyright &gt;&gt;</vh></v>
</v>
</v>
<v t="T42"><vh>@file sbx_pic.xsl</vh>
<v t="T43" a="E"><vh>&lt;&lt; main template &gt;&gt;</vh>
<v t="T44"><vh>&lt;&lt; head &gt;&gt;</vh></v>
<v t="T45" a="E"><vh>&lt;&lt; body &gt;&gt;</vh>
<v t="T46"><vh>&lt;&lt; layer 1 &gt;&gt;</vh></v>
<v t="T47"><vh>&lt;&lt; layer 2 &gt;&gt;</vh></v>
<v t="T48"><vh>&lt;&lt; layer 3 &gt;&gt;</vh></v>
</v>
</v>
<v t="T49"><vh>&lt;&lt; call-templates &gt;&gt;</vh>
<v t="T50"><vh>&lt;&lt; image 1 &gt;&gt;</vh></v>
<v t="T51"><vh>&lt;&lt; copyright &gt;&gt;</vh></v>
<v t="T52"><vh>&lt;&lt; slide name &gt;&gt;</vh></v>
</v>
</v>
<v t="T53"><vh>@file sbx_sbookt.xsl</vh>
<v t="T54"><vh>&lt;&lt; main template &gt;&gt;</vh>
<v t="T55"><vh>&lt;&lt; head &gt;&gt;</vh></v>
<v t="T56"><vh>&lt;&lt; body &gt;&gt;</vh></v>
</v>
<v t="T57"><vh>&lt;&lt; call-templates &gt;&gt;</vh></v>
</v>
<v t="T58"><vh>@file sbx_sbooksimple.xsl</vh>
<v t="T59" a="E"><vh>&lt;&lt; main template &gt;&gt;</vh>
<v t="T60"><vh>&lt;&lt; html &gt;&gt;</vh></v>
</v>
</v>
<v t="T61"><vh>@file sbx_index.xsl</vh>
<v t="T62"><vh>&lt;&lt; main template &gt;&gt;</vh>
<v t="T63"><vh>&lt;&lt; head &gt;&gt;</vh></v>
<v t="T64"><vh>&lt;&lt; body &gt;&gt;</vh>
<v t="T65"><vh>&lt;&lt; main table of info &gt;&gt;</vh></v>
</v>
</v>
</v>
<v t="T66"><vh>@file sbx_slidetoc.xsl</vh>
<v t="T67" a="E"><vh>&lt;&lt; main template &gt;&gt;</vh>
<v t="T68"><vh>&lt;&lt; head &gt;&gt;</vh></v>
<v t="T69"><vh>&lt;&lt; body &gt;&gt;</vh></v>
</v>
<v t="T70"><vh>&lt;&lt; call-templates &gt;&gt;</vh>
<v t="T71"><vh>&lt;&lt; slide name &gt;&gt;</vh></v>
</v>
</v>
<v t="T72"><vh>@file sbx_slidetocf.xsl</vh>
<v t="T73" a="E"><vh>&lt;&lt; main template &gt;&gt;</vh>
<v t="T74"><vh>&lt;&lt; head &gt;&gt;</vh></v>
<v t="T75"><vh>&lt;&lt; body &gt;&gt;</vh></v>
</v>
<v t="T76"><vh>&lt;&lt; call-templates &gt;&gt;</vh>
<v t="T77"><vh>&lt;&lt; slide name &gt;&gt;</vh></v>
</v>
</v>
<v t="T78"><vh>@file sbx_slidetocp.xsl</vh>
<v t="T79"><vh>&lt;&lt; main template &gt;&gt;</vh>
<v t="T80"><vh>&lt;&lt; head &gt;&gt;</vh></v>
<v t="T81"><vh>&lt;&lt; body &gt;&gt;</vh></v>
</v>
</v>
</v>
<v t="T82" a="E"><vh>XSLT for Bookshelf sbooktoc.xml</vh>
<v t="T83"><vh>@file toc_sbooks.hhc.xsl</vh>
<v t="T84"><vh>&lt;&lt; html &gt;&gt;</vh></v>
</v>
<v t="T85"><vh>@file toc_sbooks.hhp.xsl</vh></v>
<v t="T86"><vh>@file toc_sbooks.rdf.xsl</vh>
<v t="T87"><vh>&lt;&lt; channel &gt;&gt;</vh></v>
<v t="T88"><vh>&lt;&lt; items &gt;&gt;</vh></v>
</v>
<v t="T89"><vh>@file toc_sbooktoc.xsl</vh>
<v t="T90"><vh>&lt;&lt; main template &gt;&gt;</vh>
<v t="T91"><vh>&lt;&lt; head &gt;&gt;</vh></v>
<v t="T92"><vh>&lt;&lt; body &gt;&gt;</vh></v>
</v>
</v>
<v t="T93"><vh>@file toc_sbooktoc_ie.xsl</vh>
<v t="T94" a="E"><vh>&lt;&lt; main template &gt;&gt;</vh>
<v t="T95"><vh>&lt;&lt; head &gt;&gt;</vh></v>
<v t="T96"><vh>&lt;&lt; body &gt;&gt;</vh></v>
</v>
</v>
<v t="T97"><vh>@file toc_sbooktoc_ns.xsl</vh>
<v t="T98" a="E"><vh>&lt;&lt; main template &gt;&gt;</vh>
<v t="T99"><vh>&lt;&lt; head &gt;&gt;</vh></v>
<v t="T100"><vh>&lt;&lt; body &gt;&gt;</vh></v>
</v>
</v>
<v t="T101"><vh>@file toc_sbooktocp.xsl</vh>
<v t="T102"><vh>&lt;&lt; main template &gt;&gt;</vh>
<v t="T103"><vh>&lt;&lt; head &gt;&gt;</vh></v>
<v t="T104" a="E"><vh>&lt;&lt; body &gt;&gt;</vh>
<v t="T105"><vh>&lt;&lt; main table &gt;&gt;</vh></v>
</v>
</v>
</v>
<v t="T106"><vh>@file toc_imsmanifest.xml.xsl</vh>
<v t="T107"><vh>&lt;&lt; main template &gt;&gt;</vh>
<v t="T108"><vh>&lt;&lt; manifest &gt;&gt;</vh>
<v t="T109"><vh>&lt;&lt; metadata &gt;&gt;</vh></v>
<v t="T110"><vh>&lt;&lt; organizations &gt;&gt;</vh></v>
<v t="T111"><vh>&lt;&lt; resources &gt;&gt;</vh></v>
</v>
</v>
</v>
<v t="T112"><vh>@file toc_LRN_Title.xsl</vh>
<v t="T113"><vh>&lt;&lt; main template &gt;&gt;</vh></v>
</v>
</v>
<v t="T114" a="E"><vh>XSLT for Bookshelf sbooktoc.xml in web bookshelf</vh>
<v t="T115"><vh>@file webtoc_sbooktoc.xsl</vh>
<v t="T116"><vh>&lt;&lt; main template &gt;&gt;</vh>
<v t="T117"><vh>&lt;&lt; head &gt;&gt;</vh></v>
<v t="T118"><vh>&lt;&lt; body &gt;&gt;</vh></v>
</v>
</v>
<v t="T119" a="E"><vh>@file webtoc_sbooktoc_ie.xsl</vh>
<v t="T120" a="E"><vh>&lt;&lt; main template &gt;&gt;</vh>
<v t="T121"><vh>&lt;&lt; head &gt;&gt;</vh></v>
<v t="T122" a="V"><vh>&lt;&lt; body &gt;&gt;</vh></v>
</v>
</v>
<v t="T123" a="E"><vh>@file webtoc_sbooktoc_ns.xsl</vh>
<v t="T124" a="E"><vh>&lt;&lt; main template &gt;&gt;</vh>
<v t="T125"><vh>&lt;&lt; head &gt;&gt;</vh></v>
<v t="T126"><vh>&lt;&lt; body &gt;&gt;</vh></v>
</v>
</v>
</v>
<v t="T127"><vh>XSLT for Bookshelf options.xml</vh>
<v t="T128"><vh>@file opt_titlehh.xsl</vh>
<v t="T129"><vh>&lt;&lt; main template &gt;&gt;</vh>
<v t="T130"><vh>&lt;&lt; head &gt;&gt;</vh></v>
<v t="T131"><vh>&lt;&lt; body &gt;&gt;</vh></v>
</v>
</v>
</v>
</v>
</vnodes>
<tnodes>
<t tx="T1">This LEO file contains XSLT stylesheets that can be used with Screenbook Maker

These stylesheets were written by Joe Orr : jorr@screenbooks.net.
They may be freely used, copied and edited.

Screenbook Maker looks for the following types of XSLT stylesheets in any bookshelf folder. Screenbook Maker will process all XSLT files that it finds matching the following naming convention.
The explanation for each type of XSLT file can be found under this node.

sbx_*.xsl
toc_*.xsl
opt_*.xsl
webtoc_*.xsl

To generate the stylesheets from this Leo file, press Shift+Ctrl+A when viewing this file in Leo. 

The html files created by Screenbook Maker are 100% generated via these XSLT stylesheets, except that Screenbook Maker appends a short footnote ("Created with Screenbook Maker.."). To change the format of screenbooks created with Screenbook Maker, or to create new formats, simply edit these stylesheets or create new ones, and place the stylesheets in a screenbook bookshelf folder.

=============================================================================
March, 2002





</t>
<t tx="T2">How Screenbook Maker uses these files:

When you create a screenbook using Screenbook Maker
1. Screenbook Maker looks in the bookshelf folder for files starting with "sbx_" and ending with ".xsl".
2. Screenbook Maker applies EACH of these files, no matter how many it finds, to the file sbook.xml in the folder of the screenbook you just created.
3. Screenbook Maker puts the output for each of these transformations into the screenbook folder, into a file named the same as the xslt stylesheet, minus the "sbx_" and the ".xsl". If the resulting filename has no extension, Screenbook Maker adds the extension ".htm".

Examples:
sbx_simple.xsl : results in a file called simple.htm being placed into the screenbook folder. This folder is the result of the screenbook sbook.xml file being transformed by the sbx_simple.xsl stylesheet.

sbx_simple.txt.xsl : results in a file called simple.txt being placed into the screenbook folder. This folder is the result of the screenbook sbook.xml file being transformed by the sbx_simple.txt.xsl stylesheet. 

Special transformations:
If your XSLT stylesheet has a &lt;files&gt; element containing &lt;file&gt; elements, the transformation occurs on each &lt;file&gt; element and a separate file is written to the screenbook folder with 01, 02, etc. appended to the base stem. For example:
sbx_slide.xsl : This stylesheet (contained within this LEO file) results in a series of files: slide01.htm, slide02.htm, etc.</t>
<t tx="T3">How Screenbook Maker uses these files:

When you choose "Rebuild Table of Contents" or when you choose "Send to Web" from the Bookshelf menu, Screenbook Maker creates a file called sbooktoc.xml. This file contains a listing of all of the screenbooks in the bookshelf, including the description of each and other information. Then Screenbook Maker looks in the bookshelf folder for files beginning with "toc_" and ending in ".xsl". For EACH of these files, Screenbook Maker applies the file to sbooktoc.xml and puts the output for each of these transformations into the screenbook folder, into a file named the same as the xslt stylesheet, minus the "sbt_" and the ".xsl". If the resulting filename has no extension, Screenbook Maker adds the extension ".htm".</t>
<t tx="T4">One additional type of XSLT file is used by Screenbook Maker. Any file in a screenbook bookshelf folder beginning with "opt_" and ending in ".xsl" will be applied to the options.xml file. 
</t>
<t tx="T5">These XSLT stylesheets are applied to the sbook.xml file in the screenbook folder.

sbx_slide : creates slide view screenbook
sbx_sbook : creates one page screenbook (all slides on one page)
sbx_sbook2 : same as sbx_sbook but creates a page an icon in place of each image.
sbx_pic : creates pic01.htm, pic02.htm etc, as target pages for the icon links in sbook2
sbx_sbookt : thumbnail view page
sbx_simple : a simple example, creates a one page screenbook

sbx_index : creates the title page for the screenbook (used when printing)

sbx_slidetoc : creates a table of contents for the screenbook 
sbx_slidetocf : creates a table of contents for the screenbook for use in a frame
sbx_slidetocp : creates a table of contents for the screenbook for printing
</t>
<t tx="T6">@first &lt;?xml version="1.0"?&gt;
@language html
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:output method="html" indent="yes"/&gt;

&lt;xsl:variable name="pageCount" select="count(/screenbook/pages/page)"/&gt;
&lt;&lt; main template &gt;&gt;
&lt;&lt; call-templates &gt;&gt;
&lt;/xsl:stylesheet&gt;
</t>
<t tx="T7">@code

&lt;xsl:template match="/"&gt;
&lt;files&gt;
  &lt;xsl:for-each select="screenbook/pages/page"&gt;  
    &lt;file&gt;
      &lt;html&gt;
        &lt;&lt; head &gt;&gt;
	    &lt;&lt; body &gt;&gt;
      &lt;/html&gt;
    &lt;/file&gt;
  &lt;/xsl:for-each&gt;
&lt;/files&gt;
&lt;/xsl:template&gt;</t>
<t tx="T8"> &lt;head&gt;
    &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/&gt; 
    &lt;meta name="keywords" content="{../../keywords}" /&gt;
    &lt;meta name="description" content="{../../description}"/&gt;
    &lt;title&gt;
    &lt;xsl:value-of select="../../title"/&gt; : &lt;xsl:value-of select="title"/&gt;
    &lt;/title&gt;
    &lt;link rel='stylesheet' type='text/css' href='../../../../sbook1.css'/&gt;
    &lt;script src='../../../../sbook.js'&gt;&lt;/script&gt;
    &lt;script&gt;init2()&lt;/script&gt;
	&lt;style type="text/css"&gt;
	BODY {margin-top:0}
	&lt;/style&gt;
  &lt;/head&gt;</t>
<t tx="T9">@code

  &lt;body&gt;
    &lt;&lt; layer 1 &gt;&gt;
	&lt;&lt; layer 2 &gt;&gt;
	&lt;&lt; layer 3 &gt;&gt;
  &lt;/body&gt;
</t>
<t tx="T10">@doc

The nav bar.

@code

    &lt;xsl:variable name="myIndex"&gt;&lt;xsl:if test="position() &amp;lt; 10"&gt;0&lt;/xsl:if&gt;&lt;xsl:value-of select="position()"/&gt;&lt;/xsl:variable&gt;
    &lt;div id='Layer1' style='position:absolute; width:640px; height:30px; z-index:2; left: 10x; top: 1px'&gt; 
    &lt;table&gt;
      &lt;tr&gt;
      &lt;td width='32' nowrap="nowrap" class='navbar' title='Look for more Screenbooks at Screenbooks.net'&gt;
      &lt;a href='http://www.evisa.com/e/sb.htm' target='_top'&gt;&lt;img src='../../../../home.gif' width='18' height='14' border='0'/&gt;&lt;/a&gt;&lt;xsl:text&gt;
	  &lt;/xsl:text&gt;
      &lt;/td&gt;
      &lt;td width='32' nowrap="nowrap" class='navbar' title='Search this bookshelf'&gt;
      &lt;a href='../../../../search.htm' target='_top'&gt;&lt;img src='../../../../search.gif' width='18' height='14' border='0'/&gt;&lt;/a&gt;&lt;xsl:text&gt;
	  &lt;/xsl:text&gt;
      &lt;/td&gt;

      &lt;td width='30' nowrap="nowrap" class='navbar' title='View this page with no frames'&gt;
      &lt;a target='_top'&gt;
	  &lt;xsl:attribute name="href"&gt;slide&lt;xsl:value-of select="$myIndex"/&gt;.htm&lt;/xsl:attribute&gt;
	  &lt;img src='../../../../window.gif' border='0' hspace='2' width='30px' height='14px'/&gt;&lt;/a&gt;&lt;xsl:text&gt;
	  &lt;/xsl:text&gt;
      &lt;/td&gt;

      &lt;td width='238' nowrap="nowrap" class='navbar'&gt;
      &lt;a class="menua" href='../../../../custom.htm'&gt;font&lt;/a&gt;&lt;xsl:text&gt;
      &amp;#160; &lt;/xsl:text&gt;
	  &lt;a class="menua" href='../../../../help_s.htm'&gt;help&lt;/a&gt;&lt;xsl:text&gt;
      &amp;#160; &lt;/xsl:text&gt;
      
      &lt;a class="menua" title='Table of contents of this Bookshelf (Frames)'&gt;
	  &lt;xsl:attribute name="href"&gt;javascript:go('sbframetoc.htm?f=slide&lt;xsl:value-of select="$myIndex"/&gt;.htm')&lt;/xsl:attribute&gt;
	  bookshelf&lt;/a&gt;&lt;xsl:text&gt;
	  &amp;#160; &lt;/xsl:text&gt;
      
      &lt;a class="menua" title='Table of contents of this Screenbook (Frames)'&gt;
	  &lt;xsl:attribute name="href"&gt;javascript:go('frametoc.htm?f=slide&lt;xsl:value-of select="$myIndex"/&gt;.htm')&lt;/xsl:attribute&gt;	  
	  TOC&lt;/a&gt;&lt;xsl:text&gt;
	  &amp;#160; &lt;/xsl:text&gt;
      &lt;a class="menua" title='Titles and Thumbnails' href="javascript:go('sbookt.htm')"&gt;thumbnails&lt;/a&gt;
      &lt;/td&gt;

      &lt;td width='206' nowrap="nowrap" class='navbar'&gt;
      &lt;b&gt;&lt;xsl:value-of select="position()"/&gt; of &lt;xsl:value-of select="$pageCount"/&gt;&lt;/b&gt;&lt;xsl:text&gt;
	  &lt;/xsl:text&gt;   
      &lt;/td&gt;

      &lt;td width='40' nowrap="nowrap" class='navbar2' title='Back one page'&gt;&lt;xsl:call-template name="prevButton"&gt;&lt;xsl:with-param name="myIndex" select="position()" /&gt;&lt;/xsl:call-template&gt;&lt;xsl:text&gt;
      &lt;/xsl:text&gt;
	  &lt;/td&gt;
      &lt;td width='40' nowrap="nowrap" class='navbar2' title='Next page'&gt;&lt;xsl:call-template name="nextButton"&gt;&lt;xsl:with-param name="myIndex" select="position()" /&gt;&lt;/xsl:call-template&gt;&lt;xsl:text&gt;
      &lt;/xsl:text&gt;
      &lt;/td&gt;
      &lt;/tr&gt;
    &lt;/table&gt;
    &lt;/div&gt;

</t>
<t tx="T11">@doc

The title bar.

@code

&lt;div id='Layer2' class="layer2" &gt; 
  &lt;table width='640' border='0' align='left' bgcolor='#999999'&gt;
    &lt;tr&gt;
    &lt;td class='txt2' style="border:none"&gt;&amp;#160;
    &lt;span class='txt1'&gt;&amp;#160;&lt;xsl:value-of select="/screenbook/category"/&gt; : &lt;xsl:value-of select="/screenbook/subcategory"/&gt;&lt;/span&gt;
    &lt;span class='txt3'&gt;&amp;#160; &amp;#160;&lt;xsl:value-of select="/screenbook/title"/&gt;&lt;/span&gt; &amp;#160;
    &lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
&lt;/div&gt;</t>
<t tx="T12">@doc

The rest of the page: text, pic, page menu, copyright etc.

@code

    &lt;div id='Layer3' style='position:absolute; width:700px; height:480px; z-index:2; left: 10px; top: 60px'&gt; 
    
	  &lt;xsl:value-of select="text" disable-output-escaping="yes"/&gt;

      &lt;div class='br1'&gt; &amp;#160; &lt;/div&gt;
      
      &lt;xsl:call-template name="screenbookImage"&gt;
        &lt;xsl:with-param name="pic" select="picture"/&gt;
      &lt;/xsl:call-template&gt;
      &lt;xsl:call-template name="screenbookImage2"&gt;
        &lt;xsl:with-param name="pic" select="picture"/&gt;
      &lt;/xsl:call-template&gt;      

      &lt;map name="map1"&gt;&lt;area shape="rect" coords="425,0 585,14" href="http://www.screenbooks.net" alt="screenbooks home site" /&gt;&lt;/map&gt;
      
	  &lt;br/&gt;&lt;br/&gt;
      &lt;table class="footer" cellpadding="4" width="640"&gt;&lt;tr&gt;&lt;td valign="middle"&gt;	 
	    &lt;xsl:call-template name="pageMenu"&gt;
          &lt;xsl:with-param name="count" select="1"/&gt;
          &lt;xsl:with-param name="myIndex" select="position()"/&gt;
        &lt;/xsl:call-template&gt;
      &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
      &lt;&lt; layer 4 &gt;&gt;

	  &lt;div style="width:640px" class="cp"&gt;
      &lt;xsl:call-template name="copyright"&gt;
        &lt;xsl:with-param name="page" select="."/&gt;
      &lt;/xsl:call-template&gt;
      &lt;/div&gt;
	  
	  
	&lt;/div&gt;</t>
<t tx="T13">@doc

This is a layer that only shows up when printing.

@code

&lt;div id='Layer4' class="pageCount"&gt;
   &lt;xsl:value-of select="position()"/&gt; of &lt;xsl:value-of select="$pageCount"/&gt;
&lt;/div&gt;</t>
<t tx="T14">@code

&lt;&lt; image 1 &gt;&gt;
&lt;&lt; image 2 &gt;&gt;
&lt;&lt; copyright &gt;&gt;
&lt;&lt; page menu &gt;&gt;
&lt;&lt; prev button &gt;&gt;
&lt;&lt; next button &gt;&gt;
&lt;&lt; slide name &gt;&gt;













</t>
<t tx="T15">@code

&lt;xsl:template name="screenbookImage"&gt;
  &lt;xsl:param name="pic"/&gt;
  &lt;xsl:choose&gt;
  &lt;xsl:when test="$pic='[Empty]'"&gt;
  &lt;/xsl:when&gt;  
  &lt;xsl:otherwise&gt;
    &lt;img border="0" src="{$pic}" width="{$pic/@width}" height="{$pic/@height}" class="image1" ismap="ismap" usemap="#map1" /&gt;
  &lt;/xsl:otherwise&gt;
  &lt;/xsl:choose&gt;
&lt;/xsl:template&gt;</t>
<t tx="T16">@doc

This html only gets used during printing.

@code

&lt;xsl:template name="screenbookImage2"&gt;
  &lt;xsl:param name="pic"/&gt;
  &lt;xsl:choose&gt;
  &lt;xsl:when test="$pic='[Empty]'"&gt;
  &lt;/xsl:when&gt;  
  &lt;xsl:otherwise&gt;
    &lt;img border="0" src="highres/{$pic}" width='1' height='1' class="image2" /&gt;
  &lt;/xsl:otherwise&gt;
  &lt;/xsl:choose&gt;
&lt;/xsl:template&gt;</t>
<t tx="T17">@code

&lt;xsl:template name="copyright"&gt;
  &lt;xsl:param name="page"/&gt;
  &amp;#160; 
  &lt;xsl:if test="$page/text != '[Empty]' and $page/author != '[Empty]'"&gt;
    &lt;span class='cp'&gt;Text Author: &lt;xsl:value-of select="$page/author"/&gt;&lt;/span&gt; &amp;#160;  
  &lt;/xsl:if&gt;
  &lt;xsl:if test="$page/cp != '[Empty]'"&gt;
    &lt;span class='cp'&gt;&lt;xsl:value-of select="$page/cp"/&gt;&lt;/span&gt; &amp;#160;  
  &lt;/xsl:if&gt;
  &lt;xsl:if test="$page/sauthor != '[Empty]'"&gt;
    &lt;span class='cp'&gt;Screenshot By: &lt;xsl:value-of select="$page/sauthor"/&gt;&lt;/span&gt; &amp;#160;  
  &lt;/xsl:if&gt;
&lt;/xsl:template&gt;</t>
<t tx="T18">@code

&lt;xsl:template name="pageMenu"&gt;
  &lt;xsl:param name="count"/&gt;
  &lt;xsl:param name="myIndex"/&gt;
  &lt;xsl:choose&gt;
  &lt;xsl:when test="$myIndex = $count"&gt;
&lt;span class='txt6'&gt;&lt;xsl:value-of select="$count"/&gt;&lt;/span&gt; &amp;#160;
  &lt;/xsl:when&gt;
  &lt;xsl:otherwise&gt;
&lt;a class="footer"&gt; 
&lt;xsl:attribute name="href"&gt;
&lt;xsl:call-template name="slideName"&gt;
&lt;xsl:with-param name="myIndex" select="$count"/&gt;
&lt;/xsl:call-template&gt;
&lt;/xsl:attribute&gt;
&lt;xsl:value-of select="$count"/&gt;
&lt;/a&gt;
  &lt;xsl:text&gt; &amp;#160; &lt;/xsl:text&gt;
  &lt;/xsl:otherwise&gt;
  &lt;/xsl:choose&gt;  
  &lt;xsl:choose&gt;
    &lt;xsl:when test="$count &amp;lt; $pageCount"&gt;
      &lt;xsl:call-template name="pageMenu"&gt;
        &lt;xsl:with-param name="count" select="$count + 1"/&gt;
        &lt;xsl:with-param name="myIndex" select="$myIndex"/&gt;
      &lt;/xsl:call-template&gt;
    &lt;/xsl:when&gt;
    &lt;xsl:otherwise&gt;
    &lt;/xsl:otherwise&gt;
  &lt;/xsl:choose&gt;
&lt;/xsl:template&gt;</t>
<t tx="T19">@code

&lt;xsl:template name="prevButton"&gt;
  &lt;xsl:param name="myIndex"/&gt;
  &lt;xsl:choose&gt;
    &lt;xsl:when test="$myIndex &amp;gt; 1"&gt;
      &lt;a&gt;
        &lt;xsl:attribute name="href"&gt;
          &lt;xsl:call-template name="slideName"&gt;
            &lt;xsl:with-param name="myIndex" select="$myIndex - 1"/&gt;
          &lt;/xsl:call-template&gt;
        &lt;/xsl:attribute&gt;  
        &lt;xsl:text&gt;&lt;/xsl:text&gt;&lt;img src='../../../../left.gif' border='0' height='14px' width='30px' hspace='2' /&gt;&lt;xsl:text&gt;&lt;/xsl:text&gt;
      &lt;/a&gt;
    &lt;/xsl:when&gt;
    &lt;xsl:otherwise&gt;&amp;#160; &lt;/xsl:otherwise&gt;
  &lt;/xsl:choose&gt;
&lt;/xsl:template&gt;</t>
<t tx="T20">@code

&lt;xsl:template name="nextButton"&gt;
  &lt;xsl:param name="myIndex"/&gt;
  &lt;xsl:choose&gt;
    &lt;xsl:when test="$myIndex &amp;lt; $pageCount"&gt;
      &lt;a&gt;
        &lt;xsl:attribute name="href"&gt;
          &lt;xsl:call-template name="slideName"&gt;
            &lt;xsl:with-param name="myIndex" select="$myIndex + 1"/&gt;
          &lt;/xsl:call-template&gt;
        &lt;/xsl:attribute&gt;  
        &lt;xsl:text&gt;&lt;/xsl:text&gt;&lt;img src='../../../../right.gif' border='0' height='14px' width='30px' hspace='2' /&gt;&lt;xsl:text&gt;&lt;/xsl:text&gt;
      &lt;/a&gt;
    &lt;/xsl:when&gt;
    &lt;xsl:otherwise&gt;&amp;#160; &lt;/xsl:otherwise&gt;
  &lt;/xsl:choose&gt;
&lt;/xsl:template&gt;</t>
<t tx="T21">@code

&lt;xsl:template name="slideName"&gt;
  &lt;xsl:param name="myIndex"/&gt;
  &lt;xsl:text&gt;slide&lt;/xsl:text&gt;
  &lt;xsl:choose&gt;
  &lt;xsl:when test="$myIndex &amp;lt; 10"&gt;0&lt;/xsl:when&gt;
  &lt;xsl:otherwise&gt;&lt;/xsl:otherwise&gt;
  &lt;/xsl:choose&gt;
  &lt;xsl:value-of select="$myIndex"/&gt;
  &lt;xsl:text&gt;.htm&lt;/xsl:text&gt;
&lt;/xsl:template&gt;</t>
<t tx="T22">@first &lt;?xml version="1.0"?&gt;
@language html
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:output method="html" indent="yes"/&gt;

&lt;xsl:variable name="pageCount" select="count(/screenbook/pages/page)"/&gt;
&lt;&lt; main template &gt;&gt;
&lt;&lt; call-templates &gt;&gt;
&lt;/xsl:stylesheet&gt;</t>
<t tx="T23">@code

&lt;xsl:template match="/"&gt;

  &lt;html&gt;
    &lt;&lt; head &gt;&gt;
    &lt;&lt; body &gt;&gt;
  &lt;/html&gt;
  
&lt;/xsl:template&gt;</t>
<t tx="T24">@code
  
&lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/&gt; 
  &lt;meta name="keywords" content="{../../keywords}" /&gt;
  &lt;meta name="description" content="{../../description}"/&gt;
  &lt;title&gt;
  &lt;xsl:value-of select="../../title"/&gt; : &lt;xsl:value-of select="title"/&gt;
  &lt;/title&gt;
  &lt;link rel='stylesheet' type='text/css' href='../../../../sbook1.css'/&gt;
  &lt;script src='../../../../sbook.js'&gt;&lt;/script&gt;
  &lt;script&gt;init2()&lt;/script&gt;
  &lt;style type="text/css"&gt;
	BODY {margin-top:0}
  &lt;/style&gt;
 &lt;/head&gt;</t>
<t tx="T25">@code

&lt;&lt; layer 1 &gt;&gt;
&lt;&lt; layer 2 &gt;&gt;
&lt;&lt; layer 3 &gt;&gt;
</t>
<t tx="T26">@code

&lt;xsl:variable name="myIndex"&gt;&lt;xsl:if test="position() &amp;lt; 10"&gt;0&lt;/xsl:if&gt;&lt;xsl:value-of select="position()"/&gt;&lt;/xsl:variable&gt;

&lt;div id='Layer1' style='position:absolute; width:180px; height:30px; z-index:2; left: 10x; top: 1px'&gt; 
  &lt;table&gt;
  &lt;tr&gt;
      &lt;td width='56' nowrap="nowrap" class='navbar'&gt;
      &lt;a  title='Table of contents of this Bookshelf (No Frames)' href="javascript:go('../../../../sbooktoc.htm')"&gt;&lt;img src='../../../../books.gif' border='0' hspace='2' width='12px' height='14px'/&gt;&lt;/a&gt;&lt;xsl:text&gt;
      &lt;/xsl:text&gt;
      &lt;a title='Table of contents of this Bookshelf (Frames)'&gt;
	  &lt;xsl:attribute name="href"&gt;javascript:go('sbframetoc.htm?f=slide&lt;xsl:value-of select="$myIndex"/&gt;.htm')&lt;/xsl:attribute&gt;
	  &lt;img src='../../../../bwind.gif' border='0' hspace='3' width='12px' height='14px' /&gt;&lt;/a&gt;&lt;xsl:text&gt;
	  &lt;/xsl:text&gt;
      &lt;/td&gt;
    &lt;td width='40' nowrap="nowrap" class='navbar' title='Search this bookshelf'&gt;
      &lt;a href='../../../../search.htm' target='_top'&gt;&lt;img src='../../../../search.gif' width='18' height='14' border='0' /&gt;&lt;/a&gt;
    &lt;/td&gt;
    &lt;td width='20' nowrap="nowrap" class='navbar' title='View this page with no frames'&gt;
      &lt;a href='sbook.htm' target='_top'&gt;&lt;img src='../../../../window.gif' border='0' hspace='2' width='30px' height='14px' /&gt;&lt;/a&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
&lt;/div&gt;</t>
<t tx="T27">@doc

The title bar.

@code

&lt;div id='Layer2' class="layer2"&gt; 
  &lt;table width='660' border='0' align='left' bgcolor='#999999'&gt;
    &lt;tr&gt;
    &lt;td class='txt2'&gt;&amp;#160;
    &lt;span class='txt1'&gt;&amp;#160;&lt;xsl:value-of select="/screenbook/category"/&gt; : &lt;xsl:value-of select="/screenbook/subcategory"/&gt;&lt;/span&gt;
    &lt;span class='txt3'&gt;&amp;#160; &amp;#160;&lt;xsl:value-of select="/screenbook/title"/&gt;&lt;/span&gt; &amp;#160;
    &lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
&lt;/div&gt;</t>
<t tx="T28">@code

&lt;div id='Layer3' style='position:absolute; width:600px; z-index:2; left:10px; top:60px'&gt; 

&lt;xsl:for-each select="/screenbook/pages/page"&gt;
  &lt;xsl:value-of select="text" disable-output-escaping="yes"/&gt;
  &lt;div class='br1'&gt; &amp;#160; &lt;/div&gt;
  &lt;xsl:call-template name="screenbookImage"&gt;
    &lt;xsl:with-param name="pic" select="picture"/&gt;
  &lt;/xsl:call-template&gt; 
  &lt;br/&gt;
  &lt;hr class='hr1'/&gt;
&lt;/xsl:for-each&gt;

&lt;xsl:call-template name="copyright"&gt;
  &lt;xsl:with-param name="page" select="/screenbook/pages/page[1]"/&gt;
&lt;/xsl:call-template&gt;

&lt;/div&gt;</t>
<t tx="T29">@code

&lt;&lt; image 1 &gt;&gt;
&lt;&lt; copyright &gt;&gt;</t>
<t tx="T30">@code

&lt;xsl:template name="screenbookImage"&gt;
  &lt;xsl:param name="pic"/&gt;
  &lt;xsl:choose&gt;
  &lt;xsl:when test="$pic='[Empty]'"&gt;
  &lt;/xsl:when&gt;  
  &lt;xsl:otherwise&gt;
    &lt;img border="0" src="{$pic}" width="{$pic/@width}" height="{$pic/@height}" class="image1" ismap="ismap" usemap="#map1" /&gt;
  &lt;/xsl:otherwise&gt;
  &lt;/xsl:choose&gt;
&lt;/xsl:template&gt;</t>
<t tx="T31">@code

&lt;xsl:template name="copyright"&gt;
  &lt;xsl:param name="page"/&gt;

  &lt;xsl:if test="$page/text != '[Empty]' and $page/author != '[Empty]'"&gt;
    &lt;span class='cp'&gt;Text Author: &lt;xsl:value-of select="$page/author"/&gt;&lt;/span&gt; &amp;#160;  
  &lt;/xsl:if&gt;
  &lt;xsl:if test="$page/cp != '[Empty]'"&gt;
    &lt;span class='cp'&gt;&lt;xsl:value-of select="$page/cp"/&gt;&lt;/span&gt; &amp;#160;  
  &lt;/xsl:if&gt;
  &lt;xsl:if test="$page/sauthor != '[Empty]'"&gt;
    &lt;span class='cp'&gt;Screenshot By: &lt;xsl:value-of select="$page/sauthor"/&gt;&lt;/span&gt; &amp;#160;  
  &lt;/xsl:if&gt;
&lt;/xsl:template&gt;</t>
<t tx="T32">@first &lt;?xml version="1.0"?&gt;
@language html
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:output method="html" indent="yes"/&gt;

&lt;xsl:variable name="pageCount" select="count(/screenbook/pages/page)"/&gt;
&lt;&lt; main template &gt;&gt;
&lt;&lt; call-templates &gt;&gt;
&lt;/xsl:stylesheet&gt;</t>
<t tx="T33">@code

&lt;xsl:template match="/"&gt;

  &lt;html&gt;
    &lt;&lt; head &gt;&gt;
    &lt;&lt; body &gt;&gt;
  &lt;/html&gt;
  
&lt;/xsl:template&gt;</t>
<t tx="T34">@code
  
&lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/&gt; 
  &lt;meta name="keywords" content="{../../keywords}" /&gt;
  &lt;meta name="description" content="{../../description}"/&gt;
  &lt;title&gt;
  &lt;xsl:value-of select="../../title"/&gt; : &lt;xsl:value-of select="title"/&gt;
  &lt;/title&gt;
  &lt;link rel='stylesheet' type='text/css' href='../../../../sbook1.css'/&gt;
  &lt;script src='../../../../sbook.js'&gt;&lt;/script&gt;
  &lt;script&gt;init2()&lt;/script&gt;
  &lt;style type="text/css"&gt;
	BODY {margin-top:0}
  &lt;/style&gt;
 &lt;/head&gt;</t>
<t tx="T35">@code

&lt;&lt; layer 1 &gt;&gt;
&lt;&lt; layer 2 &gt;&gt;
&lt;&lt; layer 3 &gt;&gt;</t>
<t tx="T36">@code

&lt;xsl:variable name="myIndex"&gt;&lt;xsl:if test="position() &amp;lt; 10"&gt;0&lt;/xsl:if&gt;&lt;xsl:value-of select="position()"/&gt;&lt;/xsl:variable&gt;

&lt;div id='Layer1' style='position:absolute; width:180px; height:30px; z-index:2; left: 10x; top: 1px'&gt; 
  &lt;table&gt;
  &lt;tr&gt;
      &lt;td width='56' nowrap="nowrap" class='navbar'&gt;
      &lt;a  title='Table of contents of this Bookshelf (No Frames)' href="javascript:go('../../../../sbooktoc.htm')"&gt;&lt;img src='../../../../books.gif' border='0' hspace='2' width='12px' height='14px'/&gt;&lt;/a&gt;&lt;xsl:text&gt;
      &lt;/xsl:text&gt;
      &lt;a title='Table of contents of this Bookshelf (Frames)'&gt;
	  &lt;xsl:attribute name="href"&gt;javascript:go('sbframetoc.htm?f=slide&lt;xsl:value-of select="$myIndex"/&gt;.htm')&lt;/xsl:attribute&gt;
	  &lt;img src='../../../../bwind.gif' border='0' hspace='3' width='12px' height='14px' /&gt;&lt;/a&gt;&lt;xsl:text&gt;
	  &lt;/xsl:text&gt;
      &lt;/td&gt;
    &lt;td width='40' nowrap="nowrap" class='navbar' title='Search this bookshelf'&gt;
      &lt;a href='../../../../search.htm' target='_top'&gt;&lt;img src='../../../../search.gif' width='18' height='14' border='0' /&gt;&lt;/a&gt;
    &lt;/td&gt;
    &lt;td width='20' nowrap="nowrap" class='navbar' title='View this page with no frames'&gt;
      &lt;a href='sbook.htm' target='_top'&gt;&lt;img src='../../../../window.gif' border='0' hspace='2' width='30px' height='14px' /&gt;&lt;/a&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
&lt;/div&gt;</t>
<t tx="T37">@doc

The title bar.

@code

&lt;div id='Layer2' class="layer2"&gt; 
  &lt;table width='660' border='0' align='left' bgcolor='#999999'&gt;
    &lt;tr&gt;
    &lt;td class='txt2'&gt;&amp;#160;
    &lt;span class='txt1'&gt;&amp;#160;&lt;xsl:value-of select="/screenbook/category"/&gt; : &lt;xsl:value-of select="/screenbook/subcategory"/&gt;&lt;/span&gt;
    &lt;span class='txt3'&gt;&amp;#160; &amp;#160;&lt;xsl:value-of select="/screenbook/title"/&gt;&lt;/span&gt; &amp;#160;
    &lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
&lt;/div&gt;</t>
<t tx="T38">@code

&lt;div id='Layer3' style='position:absolute; width:600px; z-index:2; left:10px; top:60px'&gt; 

&lt;xsl:for-each select="/screenbook/pages/page"&gt;
  &lt;xsl:value-of select="text" disable-output-escaping="yes"/&gt;
  &lt;div class='br1'&gt; &amp;#160; &lt;/div&gt;
  &lt;xsl:call-template name="screenbookImage"&gt;
    &lt;xsl:with-param name="pic" select="picture"/&gt;
  &lt;/xsl:call-template&gt; 
  &lt;br/&gt;
  &lt;hr class='hr1'/&gt;
&lt;/xsl:for-each&gt;

&lt;xsl:call-template name="copyright"&gt;
  &lt;xsl:with-param name="page" select="/screenbook/pages/page[1]"/&gt;
&lt;/xsl:call-template&gt;

&lt;/div&gt;</t>
<t tx="T39">@code

&lt;&lt; image 1 &gt;&gt;
&lt;&lt; copyright &gt;&gt;</t>
<t tx="T40">@code

&lt;xsl:template name="screenbookImage"&gt;
  &lt;xsl:param name="pic"/&gt;
  &lt;xsl:choose&gt;
  &lt;xsl:when test="$pic='[Empty]'"&gt;
  &lt;/xsl:when&gt;  
  &lt;xsl:otherwise&gt;
    &lt;a&gt;
	&lt;xsl:attribute name="href"&gt;
	  &lt;xsl:text&gt;pic&lt;/xsl:text&gt;&lt;xsl:if test="position() &amp;lt; 10"&gt;0&lt;/xsl:if&gt;&lt;xsl:value-of select="position()"/&gt;&lt;xsl:text&gt;.htm&lt;/xsl:text&gt;
	&lt;/xsl:attribute&gt;
	&lt;img border="0" src="../../../../screen.png" width="11" height="12" /&gt;
    &lt;/a&gt;
  &lt;/xsl:otherwise&gt;
  &lt;/xsl:choose&gt;
&lt;/xsl:template&gt;
</t>
<t tx="T41">@code

&lt;xsl:template name="copyright"&gt;
  &lt;xsl:param name="page"/&gt;

  &lt;xsl:if test="$page/text != '[Empty]' and $page/author != '[Empty]'"&gt;
    &lt;span class='cp'&gt;Text Author: &lt;xsl:value-of select="$page/author"/&gt;&lt;/span&gt; &amp;#160;  
  &lt;/xsl:if&gt;
  &lt;xsl:if test="$page/cp != '[Empty]'"&gt;
    &lt;span class='cp'&gt;&lt;xsl:value-of select="$page/cp"/&gt;&lt;/span&gt; &amp;#160;  
  &lt;/xsl:if&gt;
  &lt;xsl:if test="$page/sauthor != '[Empty]'"&gt;
    &lt;span class='cp'&gt;Screenshot By: &lt;xsl:value-of select="$page/sauthor"/&gt;&lt;/span&gt; &amp;#160;  
  &lt;/xsl:if&gt;
&lt;/xsl:template&gt;</t>
<t tx="T42">@first &lt;?xml version="1.0"?&gt;
@language html
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:output method="html" indent="yes"/&gt;

&lt;xsl:variable name="pageCount" select="count(/screenbook/pages/page)"/&gt;
&lt;&lt; main template &gt;&gt;
&lt;&lt; call-templates &gt;&gt;
&lt;/xsl:stylesheet&gt;</t>
<t tx="T43">@code

&lt;xsl:template match="/"&gt;

&lt;files&gt;

  &lt;xsl:for-each select="screenbook/pages/page"&gt;
  
    &lt;file&gt;

      &lt;html&gt;
        &lt;&lt; head &gt;&gt;
	    &lt;&lt; body &gt;&gt;
      &lt;/html&gt;
  
    &lt;/file&gt;

  &lt;/xsl:for-each&gt;
&lt;/files&gt;

&lt;/xsl:template&gt;</t>
<t tx="T44">@code
  
&lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/&gt; 
  &lt;meta name="keywords" content="{../../keywords}" /&gt;
  &lt;meta name="description" content="{../../description}"/&gt;
  &lt;title&gt;
  &lt;xsl:value-of select="../../title"/&gt; : &lt;xsl:value-of select="title"/&gt;
  &lt;/title&gt;
  &lt;link rel='stylesheet' type='text/css' href='../../../../sbook1.css'/&gt;
  &lt;script src='../../../../sbook.js'&gt;&lt;/script&gt;
  &lt;script&gt;init2()&lt;/script&gt;
  &lt;style type="text/css"&gt;
	BODY {margin-top:0}
  &lt;/style&gt;
 &lt;/head&gt;</t>
<t tx="T45">@code

&lt;&lt; layer 1 &gt;&gt;
&lt;&lt; layer 2 &gt;&gt;
&lt;&lt; layer 3 &gt;&gt;
</t>
<t tx="T46">@code

    &lt;div id='Layer1' style='position:absolute; width:180px; height:30px; z-index:2; left: 10x; top: 1px'&gt; 
    &lt;table&gt;
      &lt;tr&gt;
      &lt;td&gt;
      &lt;a&gt;
	  &lt;xsl:attribute name='href'&gt;sbook2.htm#&lt;xsl:value-of select="position()"/&gt;&lt;/xsl:attribute&gt;&lt;font size="2"&gt;Back To Screenbook&lt;/font&gt;&lt;/a&gt;    
	  &lt;/td&gt;
	  &lt;/tr&gt;
	&lt;/table&gt;  
	&lt;/div&gt;

</t>
<t tx="T47">@doc

The title bar.

@code

&lt;div id='Layer2' class="layer2"&gt; 
  &lt;table width='660' border='0' align='left' bgcolor='#999999'&gt;
    &lt;tr&gt;
    &lt;td class='txt2'&gt;&amp;#160;
    &lt;span class='txt1'&gt;&amp;#160;&lt;xsl:value-of select="/screenbook/category"/&gt; : &lt;xsl:value-of select="/screenbook/subcategory"/&gt;&lt;/span&gt;
    &lt;span class='txt3'&gt;&amp;#160; &amp;#160;&lt;xsl:value-of select="/screenbook/title"/&gt;&lt;/span&gt; &amp;#160;
    &lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
&lt;/div&gt;</t>
<t tx="T48">@code

    &lt;div id='Layer3' style='position:absolute; width:600px; z-index:2; left: 10px; top: 60px'&gt; 
      
      &lt;xsl:call-template name="screenbookImage"&gt;
        &lt;xsl:with-param name="pic" select="picture"/&gt;
      &lt;/xsl:call-template&gt;     

      &lt;map name="map1"&gt;&lt;area shape="rect" coords="425,0 585,14" href="http://www.screenbooks.net" alt="screenbooks home site" /&gt;&lt;/map&gt;
      &lt;hr align='left' class='hr1' /&gt;

      &lt;xsl:call-template name="copyright"&gt;
        &lt;xsl:with-param name="page" select="."/&gt;
      &lt;/xsl:call-template&gt;
    
	&lt;/div&gt;
</t>
<t tx="T49">@code

&lt;&lt; image 1 &gt;&gt;
&lt;&lt; copyright &gt;&gt;
&lt;&lt; slide name &gt;&gt;</t>
<t tx="T50">@code

&lt;xsl:template name="screenbookImage"&gt;
  &lt;xsl:param name="pic"/&gt;
  &lt;xsl:choose&gt;
  &lt;xsl:when test="$pic='[Empty]'"&gt;
  &lt;/xsl:when&gt;  
  &lt;xsl:otherwise&gt;
    &lt;img border="0" src="{$pic}" width="{$pic/@width}" height="{$pic/@height}" class="image1" ismap="ismap" usemap="#map1" /&gt;
  &lt;/xsl:otherwise&gt;
  &lt;/xsl:choose&gt;
&lt;/xsl:template&gt;</t>
<t tx="T51">@code

&lt;xsl:template name="copyright"&gt;
  &lt;xsl:param name="page"/&gt;

  &lt;xsl:if test="$page/text != '[Empty]'"&gt;
    &lt;span class='cp'&gt;Text Author: &lt;xsl:value-of select="$page/author"/&gt;&lt;/span&gt; &amp;#160;  
  &lt;/xsl:if&gt;
  &lt;xsl:if test="$page/cp != '[Empty]'"&gt;
    &lt;span class='cp'&gt;&lt;xsl:value-of select="$page/cp"/&gt;&lt;/span&gt; &amp;#160;  
  &lt;/xsl:if&gt;
  &lt;xsl:if test="$page/sauthor != '[Empty]'"&gt;
    &lt;span class='cp'&gt;Screenshot By: &lt;xsl:value-of select="$page/sauthor"/&gt;&lt;/span&gt; &amp;#160;  
  &lt;/xsl:if&gt;
&lt;/xsl:template&gt;</t>
<t tx="T52">@code

&lt;xsl:template name="slideName"&gt;
  &lt;xsl:param name="myIndex"/&gt;
  &lt;xsl:text&gt;slide&lt;/xsl:text&gt;
  &lt;xsl:choose&gt;
  &lt;xsl:when test="$myIndex &amp;lt; 10"&gt;0&lt;/xsl:when&gt;
  &lt;xsl:otherwise&gt;
  &lt;/xsl:otherwise&gt;
  &lt;/xsl:choose&gt;
  &lt;xsl:value-of select="$myIndex"/&gt;
  &lt;xsl:text&gt;.htm&lt;/xsl:text&gt;
&lt;/xsl:template&gt;</t>
<t tx="T53">@first &lt;?xml version="1.0"?&gt;
@language html
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:output method="html" indent="yes"/&gt;

&lt;xsl:variable name="pageCount" select="count(/screenbook/pages/page)"/&gt;
&lt;&lt; main template &gt;&gt;
&lt;&lt; call-templates &gt;&gt;
&lt;/xsl:stylesheet&gt;


</t>
<t tx="T54">@code

&lt;xsl:template match="/"&gt;

  &lt;html&gt;
    &lt;&lt; head &gt;&gt;
    &lt;&lt; body &gt;&gt;
  &lt;/html&gt;
  
&lt;/xsl:template&gt;

</t>
<t tx="T55">@code
  
&lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/&gt; 
  &lt;meta name="keywords" content="{../../keywords}" /&gt;
  &lt;meta name="description" content="{../../description}"/&gt;
  &lt;title&gt;
  &lt;xsl:value-of select="../../title"/&gt; : &lt;xsl:value-of select="title"/&gt;
  &lt;/title&gt;
  &lt;link rel='stylesheet' type='text/css' href='../../../../sbook1.css'/&gt;
  &lt;script src='../../../../sbook.js'&gt;&lt;/script&gt;
  &lt;script&gt;init2()&lt;/script&gt;
  &lt;style type="text/css"&gt;
	BODY {margin-top:0}
  &lt;/style&gt;
 &lt;/head&gt;</t>
<t tx="T56">@code

&lt;body topmargin="0" leftmargin="0" rightmargin="0" marginheight="0" marginwidth="0"&gt;
&lt;div id='Layer2' class="layer2" style="position:absolute; width:640px; z-index:2; left: 10px; top: 4px"&gt; 
  &lt;table width='660' border='0' align='left' bgcolor='#999999'&gt;
    &lt;tr&gt;
    &lt;td class='txt2'&gt;&amp;#160;
      &lt;span class='txt1'&gt;&amp;#160;&lt;xsl:value-of select="/screenbook/category"/&gt; : &lt;xsl:value-of select="/screenbook/subcategory"/&gt;&lt;/span&gt;
      &lt;span class='txt3'&gt;&amp;#160; &amp;#160;&lt;xsl:value-of select="/screenbook/title"/&gt;&lt;/span&gt; &amp;#160;
    &lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
&lt;/div&gt;

&lt;div id='Layer3' style='position:absolute; width:640px; z-index:2; left: 10px; top: 35px'&gt; 
&lt;span class='txt4'&gt;Screenbook Thumbnail View: Click on an image to go to the page.&lt;/span&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;xsl:apply-templates select="//pages" /&gt;

&lt;/div&gt;
&lt;/body&gt;
</t>
<t tx="T57">@code


 &lt;!-- The template for the items to be printed into a table. This is where the &lt;table&gt; tag gets printed. --&gt; 
 &lt;xsl:template match="pages"&gt;
   &lt;!-- table rows are built with general purpose table routine: "makeRows"
       "c" is the number of columns
       "content" is the nodeset of items to be put in cells
       "counter" is always 1 --&gt; 
   &lt;table border="0" cellspacing="2" cellpadding="6" bgcolor="slate"&gt;
   &lt;xsl:call-template name="makeRows"&gt;
     &lt;xsl:with-param name="content" select="page" /&gt; 
     &lt;xsl:with-param name="c" select="4" /&gt; 
     &lt;xsl:with-param name="counter" select="1" /&gt;
	 &lt;xsl:with-param name="myIndex" select="1"/&gt; 
   &lt;/xsl:call-template&gt;
   &lt;/table&gt;
&lt;/xsl:template&gt;

 &lt;!--  The template for printing the table rows  --&gt; 
 &lt;xsl:template name="makeRows"&gt;
   &lt;xsl:param name="content" /&gt; 
   &lt;xsl:param name="c" /&gt; 
   &lt;xsl:param name="myIndex" /&gt;
   &lt;!--  print c cols (one row)  --&gt; 
   &lt;tr&gt;
   &lt;xsl:call-template name="makeCols"&gt;
     &lt;xsl:with-param name="content" select="$content[position() &amp;lt; ($c + 1)]" /&gt; 
     &lt;xsl:with-param name="c" select="$c" /&gt; 
     &lt;xsl:with-param name="counter" select="1" /&gt;
	 &lt;xsl:with-param name="myIndex" select="$myIndex" /&gt; 
   &lt;/xsl:call-template&gt;
   &lt;/tr&gt;
   &lt;!--  recurse to print the remaining rows  --&gt; 
   &lt;xsl:if test="$content[position() &gt; $c]"&gt;
   &lt;xsl:call-template name="makeRows"&gt;
     &lt;xsl:with-param name="content" select="$content[position() &amp;gt; $c]" /&gt; 
     &lt;xsl:with-param name="c" select="$c" /&gt;
	 &lt;xsl:with-param name="myIndex" select="$myIndex + $c" /&gt; 
   &lt;/xsl:call-template&gt;
   &lt;/xsl:if&gt;
 &lt;/xsl:template&gt;
 
 &lt;!--  The template for printing the table columns --&gt; 
 &lt;xsl:template name="makeCols"&gt;
   &lt;xsl:param name="content" /&gt; 
   &lt;xsl:param name="c" /&gt; 
   &lt;xsl:param name="counter" /&gt;
   &lt;xsl:param name="myIndex" /&gt; 
   &lt;!-- print out c (number of) cells --&gt; 
   &lt;xsl:if test="not($counter &gt; $c)"&gt;
   &lt;td class='cpblack' valign='top' bgcolor="white"&gt;
     &lt;xsl:if test="$content"&gt;
     &lt;xsl:call-template name="pageCell"&gt;
	   &lt;xsl:with-param name="myIndex" select="$myIndex"/&gt;
	   &lt;xsl:with-param name="page" select="$content[1]"/&gt;
	 &lt;/xsl:call-template&gt;
     &lt;/xsl:if&gt;
   &lt;/td&gt;
   &lt;!--  if there are any left, recurse  --&gt; 
   &lt;xsl:call-template name="makeCols"&gt;
     &lt;xsl:with-param name="content" select="$content[position() != 1]" /&gt; 
     &lt;xsl:with-param name="c" select="$c" /&gt; 
     &lt;xsl:with-param name="counter" select="$counter + 1" /&gt; 
     &lt;xsl:with-param name="myIndex" select="$myIndex + 1" /&gt;
   &lt;/xsl:call-template&gt;
   &lt;/xsl:if&gt;
 &lt;/xsl:template&gt;
 
 &lt;!-- one page --&gt;
 &lt;xsl:template name="pageCell"&gt;
   &lt;xsl:param name="myIndex"/&gt;
   &lt;xsl:param name="page"/&gt;
   &lt;b&gt;
   &lt;a&gt;
   &lt;xsl:attribute name="href"&gt;slide&lt;xsl:if test="$myIndex &amp;lt; 10"&gt;0&lt;/xsl:if&gt;&lt;xsl:value-of select="$myIndex"/&gt;.htm&lt;/xsl:attribute&gt;
   &lt;xsl:value-of select="$myIndex"/&gt;
   &lt;/a&gt;
   &lt;/b&gt;&amp;#160; &lt;xsl:value-of select="$page/title" disable-output-escaping="yes"/&gt;
   &lt;br/&gt;
   &lt;xsl:choose&gt;
   &lt;xsl:when test="$page/picture='[Empty]'"&gt;
   &lt;/xsl:when&gt;  
   &lt;xsl:otherwise&gt;
     &lt;a&gt;
	 &lt;xsl:attribute name="href"&gt;slide&lt;xsl:if test="$myIndex &amp;lt; 10"&gt;0&lt;/xsl:if&gt;&lt;xsl:value-of select="$myIndex"/&gt;.htm&lt;/xsl:attribute&gt;
	 &lt;img border="0" src="{$page/picture}" width="{$page/picture/@width div 4}" height="{$page/picture/@height div 4}" vspace="6" /&gt;
     &lt;/a&gt;
   &lt;/xsl:otherwise&gt;
   &lt;/xsl:choose&gt;
 &lt;/xsl:template&gt;
 
 &lt;xsl:template name="pageLink"&gt;
 
 &lt;/xsl:template&gt;

</t>
<t tx="T58">@first &lt;?xml version="1.0"?&gt;
@language html
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:output method="html" indent="yes"/&gt;

&lt;&lt; main template &gt;&gt;

&lt;/xsl:stylesheet&gt;</t>
<t tx="T59">@code

&lt;xsl:template match="/"&gt;

&lt;&lt; html &gt;&gt;

&lt;/xsl:template&gt;</t>
<t tx="T60">@code

&lt;html&gt;
&lt;body&gt;
&lt;h2&gt;
  &lt;xsl:value-of select="screenbook/category"/&gt;
   : &lt;xsl:value-of select="screenbook/subcategory"/&gt;
   : &lt;xsl:value-of select="screenbook/title"/&gt;
&lt;/h2&gt;
&lt;xsl:for-each select="screenbook/pages/page"&gt;
  &lt;div&gt;
  &lt;xsl:value-of select="text" disable-output-escaping="yes"/&gt;
  &lt;br/&gt;
  &lt;img src="{picture}" width="{picture/@width}" height="{picture/@height}" /&gt;
  &lt;br/&gt;
  &lt;small&gt;
    Author: &lt;xsl:value-of select="author"/&gt;
    &lt;xsl:value-of select="copyright"/&gt;
  &lt;/small&gt;
  &lt;br/&gt;
  &lt;hr/&gt;
  &lt;br/&gt;
  &lt;br/&gt;
  &lt;/div&gt;
&lt;/xsl:for-each&gt;
&lt;/body&gt;
&lt;/html&gt;
</t>
<t tx="T61">@first &lt;?xml version="1.0"?&gt;
@language html
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:output method="html" indent="yes"/&gt;

&lt;&lt; main template &gt;&gt;

&lt;/xsl:stylesheet&gt;</t>
<t tx="T62">@code

&lt;xsl:template match="/"&gt;
&lt;html&gt;

&lt;&lt; head &gt;&gt;
&lt;&lt; body &gt;&gt;

&lt;/html&gt;
&lt;/xsl:template&gt;
</t>
<t tx="T63">@code

&lt;head&gt;
&lt;title&gt;Screenbook Title Page&lt;/title&gt;
&lt;style type="text/css"&gt;
td {  font-family: Verdana, Arial, Helvetica, sans-serif}
.title1 {  font-size: 48pt; font-weight: bold; color: #3399CC; font-family: Verdana, Arial, Helvetica, sans-serif}
&lt;/style&gt;
&lt;/head&gt;</t>
<t tx="T64">@code

&lt;body bgcolor="#FFFFFF"&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;table border="0" cellspacing="0" cellpadding="10" align="center" bgcolor="#33CCCC"&gt;
  &lt;tr&gt;
    &lt;td&gt;
      &lt;table border="0" cellspacing="0" cellpadding="10" align="center" bgcolor="#FFFFFF"&gt;
        &lt;tr&gt; 
          &lt;td align="center" nowrap="nowrap"&gt;&lt;b&gt;&lt;span class="title1"&gt;Screenbook&lt;/span&gt;&lt;sup&gt;&lt;font size="5"&gt;TM&lt;/font&gt;&lt;/sup&gt;&lt;/b&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr align="center"&gt;
          &lt;td&gt;&lt;font face="Verdana, Arial, Helvetica, sans-serif"&gt;&lt;b&gt;&lt;font size="5"&gt;Title 
            Page&lt;/font&gt;&lt;/b&gt;&lt;/font&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr align="center"&gt; 
          &lt;td&gt;&lt;font face="Verdana, Arial, Helvetica, sans-serif"&gt;&lt;b&gt;&lt;/b&gt;&lt;/font&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt; 
          &lt;td&gt; 
		    &lt;&lt; main table of info &gt;&gt;
          &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr align="center"&gt; 
          &lt;td&gt; 
            &lt;p&gt;created with Screenbook Maker&lt;/p&gt;
            &lt;p class="td3"&gt;&lt;b&gt;www.screenbooks.net&lt;/b&gt;&lt;/p&gt;
            &lt;p&gt;screenbook library at www.evisa.com&lt;/p&gt;
          &lt;/td&gt;
        &lt;/tr&gt;
      &lt;/table&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;/body&gt;
</t>
<t tx="T65">@code

            &lt;table border="0" cellspacing="2" cellpadding="5" align="center" width="540"&gt;
              &lt;tr&gt; 
                &lt;td align="right" bgcolor="#3399CC"&gt;&lt;b&gt;&lt;font color="#FFFFFF"&gt;Category&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
                &lt;td align="left"  bgcolor="black"&gt;&lt;b&gt;&lt;font color="white"&gt;&lt;xsl:value-of select="/screenbook/category" /&gt;&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt; 
                &lt;td align="right" bgcolor="#3399CC"&gt;&lt;b&gt;&lt;font color="#FFFFFF"&gt;Subcategory&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
                &lt;td align="left"  bgcolor="black"&gt;&lt;b&gt;&lt;font color="white"&gt;&lt;xsl:value-of select="/screenbook/subcategory" /&gt;&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt; 
                &lt;td align="right" bgcolor="#3399CC"&gt;&lt;b&gt;&lt;font color="#FFFFFF"&gt;Title&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
                &lt;td align="left"  bgcolor="black"&gt;&lt;b&gt;&lt;font color="white"&gt;&lt;xsl:value-of select="/screenbook/title" /&gt;&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt; 
                &lt;td align="right" bgcolor="#3399CC"&gt;&lt;b&gt;&lt;font color="#FFFFFF"&gt;Keywords&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
                &lt;td align="left"  bgcolor="black"&gt;&lt;b&gt;&lt;font color="white"&gt;&lt;xsl:value-of select="/screenbook/keywords" /&gt;&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt; 
                &lt;td align="right" bgcolor="#3399CC"&gt;&lt;b&gt;&lt;font color="#FFFFFF"&gt;Description&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
                &lt;td align="left"  bgcolor="black"&gt;&lt;b&gt;&lt;font color="white"&gt;&lt;xsl:value-of select="/screenbook/description" /&gt;&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt; 
                &lt;td align="right" bgcolor="#3399CC"&gt;&lt;b&gt;&lt;font color="#FFFFFF"&gt;Author&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
                &lt;td align="left"  bgcolor="black"&gt;&lt;b&gt;&lt;font color="white"&gt;&lt;xsl:value-of select="/screenbook/pages/page/author" /&gt;&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt; 
                &lt;td align="right" bgcolor="#3399CC"&gt;&lt;b&gt;&lt;font color="#FFFFFF"&gt;# of pages&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
                &lt;td align="left"  bgcolor="black"&gt;&lt;b&gt;&lt;font color="white"&gt;&lt;xsl:value-of select="count(/screenbook/pages/page)" /&gt;&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt; 
                &lt;td align="right" bgcolor="#3399CC"&gt;&lt;b&gt;&lt;font color="#FFFFFF"&gt;Last 
                  Update&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
                &lt;td align="left"  bgcolor="black"&gt;&lt;b&gt;&lt;font color="white"&gt;&lt;xsl:value-of select="/screenbook/ldate" /&gt;&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
              &lt;/tr&gt;
            &lt;/table&gt;


</t>
<t tx="T66">@first &lt;?xml version="1.0"?&gt;
@language html
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:output method="html" indent="yes"/&gt;

&lt;&lt; main template &gt;&gt;
&lt;&lt; call-templates &gt;&gt;

&lt;/xsl:stylesheet&gt;</t>
<t tx="T67">@code

&lt;xsl:template match="/"&gt;

&lt;html&gt;
&lt;&lt; head &gt;&gt;
&lt;&lt; body &gt;&gt;
&lt;/html&gt;

&lt;/xsl:template&gt;</t>
<t tx="T68">@code

&lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;&lt;/meta&gt;
  &lt;link rel='stylesheet' type='text/css' href='../../../../sbook1.css'&gt;&lt;/link&gt;
&lt;script&gt;
syncright();
function syncright() {
  var url, s, ss;

  if (window == top) return 0;
  if (parent.mainFrame.location == location) return 0;

  s = parent.location;
  url = s.toString();
  ss = url.split("?");
  if (ss.length == 1) return 0;
  s = ss[1];
  ss = s.split("=");
  s = ss[1];
  var folder;
  if (s[0] = 'f') {
     folder = ss[1];
  }
  parent.mainFrame.location.href = folder;
}

&lt;/script&gt;
&lt;/head&gt;</t>
<t tx="T69">@code

&lt;body&gt;
  &lt;p class="head1"&gt;&lt;xsl:value-of select="screenbook/title" /&gt;&lt;/p&gt;
  &lt;p&gt;&lt;/p&gt;
  &lt;table border="0"&gt;
  &lt;tr&gt;&lt;td nowrap='yes' class='txt5'&gt;
  &lt;xsl:for-each select="screenbook/pages/page"&gt;
    &lt;a class="toc"&gt;
      &lt;xsl:attribute name="href"&gt;&lt;xsl:call-template name="slideName"&gt;&lt;xsl:with-param name="myIndex" select="position()"/&gt;&lt;/xsl:call-template&gt;&lt;/xsl:attribute&gt;
      &lt;xsl:value-of select="title"/&gt;
    &lt;/a&gt;
    &lt;br/&gt;
  &lt;/xsl:for-each&gt;
  &lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;/body&gt;

</t>
<t tx="T70">@code

&lt;&lt; slide name &gt;&gt;</t>
<t tx="T71">@code

&lt;xsl:template name="slideName"&gt;
  &lt;xsl:param name="myIndex"/&gt;
  &lt;xsl:text&gt;slide&lt;/xsl:text&gt;
  &lt;xsl:choose&gt;
  &lt;xsl:when test="$myIndex &amp;lt; 10"&gt;0&lt;/xsl:when&gt;
  &lt;xsl:otherwise&gt;
  &lt;/xsl:otherwise&gt;
  &lt;/xsl:choose&gt;
  &lt;xsl:value-of select="$myIndex"/&gt;
  &lt;xsl:text&gt;.htm&lt;/xsl:text&gt;
&lt;/xsl:template&gt;</t>
<t tx="T72">@first &lt;?xml version="1.0"?&gt;
@language html
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:output method="html" indent="yes"/&gt;

&lt;&lt; main template &gt;&gt;
&lt;&lt; call-templates &gt;&gt;

&lt;/xsl:stylesheet&gt;</t>
<t tx="T73">@code

&lt;xsl:template match="/"&gt;

&lt;html&gt;
&lt;&lt; head &gt;&gt;
&lt;&lt; body &gt;&gt;
&lt;/html&gt;

&lt;/xsl:template&gt;</t>
<t tx="T74">@code

&lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;&lt;/meta&gt;
  &lt;link rel='stylesheet' type='text/css' href='../../../../sbook1.css'&gt;&lt;/link&gt;
&lt;script&gt;
//syncright();
function syncright() {
  var url, s, ss;

  if (window == top) return 0;
  if (parent.mainFrame.location == location) return 0;

  s = parent.location;
  url = s.toString();
  ss = url.split("?");
  if (ss.length == 1) return 0;
  s = ss[1];
  ss = s.split("=");
  s = ss[1];
  var folder;
  if (s[0] = 'f') {
     folder = ss[1];
  }
  parent.mainFrame.location.href = folder;
}

&lt;/script&gt;
&lt;/head&gt;</t>
<t tx="T75">@code

&lt;body&gt;
&lt;p class="head1"&gt;
  &lt;xsl:value-of select="screenbook/title" /&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;table border="0"&gt;
&lt;tr&gt;&lt;td nowrap='yes' class='txt5'&gt;
&lt;xsl:for-each select="screenbook/pages/page"&gt;
  &lt;a class="toc"&gt;
    &lt;xsl:attribute name="href"&gt;&lt;xsl:call-template name="slideName"&gt;&lt;xsl:with-param name="myIndex" select="position()"/&gt;&lt;/xsl:call-template&gt;&lt;/xsl:attribute&gt;
    &lt;xsl:attribute name="target"&gt;mainFrame&lt;/xsl:attribute&gt;
    &lt;xsl:value-of select="title"/&gt;
  &lt;/a&gt;
  &lt;br/&gt;
&lt;/xsl:for-each&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;/body&gt;



</t>
<t tx="T76">@code

&lt;&lt; slide name &gt;&gt;</t>
<t tx="T77">@code

&lt;xsl:template name="slideName"&gt;
  &lt;xsl:param name="myIndex"/&gt;
  &lt;xsl:text&gt;slide&lt;/xsl:text&gt;
  &lt;xsl:choose&gt;
  &lt;xsl:when test="$myIndex &amp;lt; 10"&gt;0&lt;/xsl:when&gt;
  &lt;xsl:otherwise&gt;
  &lt;/xsl:otherwise&gt;
  &lt;/xsl:choose&gt;
  &lt;xsl:value-of select="$myIndex"/&gt;
  &lt;xsl:text&gt;.htm&lt;/xsl:text&gt;
&lt;/xsl:template&gt;</t>
<t tx="T78">@first &lt;?xml version="1.0"?&gt;
@language html
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:output method="html" indent="yes"/&gt;

&lt;&lt; main template &gt;&gt;

&lt;/xsl:stylesheet&gt;</t>
<t tx="T79">@code

&lt;xsl:template match="/"&gt;

&lt;html&gt;
&lt;&lt; head &gt;&gt;
&lt;&lt; body &gt;&gt;
&lt;/html&gt;

&lt;/xsl:template&gt;</t>
<t tx="T80">@code

&lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;&lt;/meta&gt;
  &lt;link rel='stylesheet' type='text/css' href='../../../../sbook1.css'&gt;&lt;/link&gt;
&lt;/head&gt;</t>
<t tx="T81">@code

&lt;body&gt;

&lt;table align="center" width="600"&gt;
  &lt;tr&gt;&lt;td align="center" style="font-size:18pt; font-weight:bold"&gt;
    Screenbook Table of Contents
  &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  &lt;td align="center" style="background-color:darkgray; color:white; font-size:16pt; font-weight:bold"&gt;
    &lt;xsl:value-of select="screenbook/title" /&gt;
  &lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;br/&gt;

&lt;table border="0" align="center" cellpadding="4"&gt;
&lt;xsl:for-each select="screenbook/pages/page"&gt;
  &lt;tr&gt;
    &lt;td nowrap='yes' align="right" style="font-weight:normal"&gt;
      Page &lt;xsl:value-of select="position()"/&gt;
    &lt;/td&gt;&lt;td align="left" style="font-weight:bold"&gt;
      &lt;xsl:value-of select="title"/&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
&lt;/xsl:for-each&gt;
&lt;/table&gt;

&lt;br/&gt;

&lt;table align="center" width="600"&gt;
  &lt;tr&gt;
  &lt;td align="center" style="background-color:darkgray; color:white; font-size:16pt; font-weight:bold"&gt;
  &amp;#160;
  &lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;

&lt;/body&gt;




</t>
<t tx="T82">These XSLT stylesheets are applied to the bookshelf sbooktoc.xml file, which is automatically generated from all of the screenbooks in a bookshelf.

toc_sbooks.hhc.xsl : creates sbooks.hhc, for use with HTML Help compiler
toc_sbooks.hhp.xsl : creates sbooks.hhp, for use with HTML Help compiler

toc_sbooks.rdf.xsl : creates sbooks.rdf, RSS resource file for the bookshelf

toc_sbooktoc.xsl : creates sbook.htm, TOC page not used in a frame
toc_sbooktoc_ie.xsl : creates sbook.htm, TOC page used in a frame with Internet Explorer
toc_sbooktoc_ns.xsl : creates sbook.htm, TOC page used in a frame with Netscape Navigator
toc_sbooktocp.xsl_ : creates sbookp.htm, used when printing

toc_imsmanifest.xml.xsl: creates imsmanifest.xml, SCORP compliant manifest, can be read by LRN viewer.

</t>
<t tx="T83">@first&lt;?xml version="1.0"?&gt;
@language html
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:template match="/"&gt;
&lt;&lt; html &gt;&gt;
&lt;/xsl:template&gt;
&lt;/xsl:stylesheet&gt;</t>
<t tx="T84">
&lt;HTML&gt;
&lt;HEAD&gt;
&lt;META NAME="GENERATOR" CONTENT="SCREENBOOK MAKER VERSION 1.0"/&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;

&lt;xsl:for-each select="bookshelf/category"&gt;
&lt;UL&gt;
  &lt;LI&gt; &lt;OBJECT type="text/sitemap"&gt;
        &lt;param name="Name" value="{@alias}"/&gt;
        &lt;/OBJECT&gt;
  &lt;/LI&gt;
  &lt;xsl:for-each select="subcategory"&gt;
  &lt;UL&gt;
  &lt;LI&gt; &lt;OBJECT type="text/sitemap"&gt;
        &lt;param name="Name" value="{@alias}"/&gt;
        &lt;/OBJECT&gt;  
  &lt;/LI&gt;    
    &lt;xsl:for-each select="format"&gt;
      &lt;xsl:for-each select="sbook"&gt;

  &lt;UL&gt;
  &lt;LI&gt; &lt;OBJECT type="text/sitemap"&gt;
        &lt;param name="Name" value="{alias}"/&gt;
        &lt;param name="Local"&gt;
          &lt;xsl:attribute name="value"&gt;&lt;xsl:value-of select="../../../@name"/&gt;/&lt;xsl:value-of select="../../@name"/&gt;/&lt;xsl:value-of select="../@name"/&gt;/&lt;xsl:value-of select="title"/&gt;/sbook.htm&lt;/xsl:attribute&gt;
        &lt;/param&gt;
        &lt;/OBJECT&gt;  
  &lt;/LI&gt;
  &lt;/UL&gt;
      &lt;/xsl:for-each&gt;
    &lt;/xsl:for-each&gt;
  &lt;/UL&gt;
  &lt;/xsl:for-each&gt;
&lt;/UL&gt;
&lt;/xsl:for-each&gt;


&lt;/BODY&gt;
&lt;/HTML&gt;

</t>
<t tx="T85">@first&lt;?xml version="1.0"?&gt;
@language html
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:output method="text"/&gt;
&lt;xsl:template match="/"&gt;[OPTIONS]
Compatibility=1.1 or later
Compiled file=sbooks.chm
Contents file=sbooks.hhc
Default topic=titlehh.htm
Display compile progress=No
Full-text search=Yes
Language=0x409 English (United States)

[FILES]
&lt;xsl:for-each select="bookshelf/category"&gt;
  &lt;xsl:for-each select="subcategory"&gt;
    &lt;xsl:for-each select="format"&gt;
      &lt;xsl:for-each select="sbook"&gt;
&lt;xsl:value-of select="../../../@name"/&gt;/&lt;xsl:value-of select="../../@name"/&gt;/&lt;xsl:value-of select="../@name"/&gt;/&lt;xsl:value-of select="title"/&gt;/sbook.htm
&lt;/xsl:for-each&gt;
    &lt;/xsl:for-each&gt;
  &lt;/xsl:for-each&gt;
&lt;/xsl:for-each&gt;

[INFOTYPES]

&lt;/xsl:template&gt;
&lt;/xsl:stylesheet&gt;</t>
<t tx="T86">@first&lt;?xml version="1.0" encoding="utf-8"?&gt;                   
@language html
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:output indent="yes"/&gt;

&lt;xsl:variable name="homeURL"&gt;http://www.screenbooks.net/e&lt;/xsl:variable&gt;
&lt;xsl:variable name="bookshelfOptions" select="document('options.xml')"/&gt;

&lt;xsl:template match="/"&gt;
                                                         
&lt;rdf:RDF                                                 
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns="http://purl.org/rss/1.0/"        
&gt;                                                        
                                                                                            
&lt;&lt; channel &gt;&gt;
&lt;&lt; items &gt;&gt;
                                                                                                       
&lt;/rdf:RDF&gt;                                               

&lt;/xsl:template&gt;
&lt;/xsl:stylesheet&gt;

















</t>
<t tx="T87">@code

  &lt;channel rdf:about="{$homeURL}/rss.rdf"&gt;
    &lt;title&gt;&lt;xsl:value-of select="$bookshelfOptions/options/bookshelfName" /&gt;&lt;/title&gt;
    &lt;description&gt;
      &lt;xsl:value-of select="$bookshelfOptions/options/description"/&gt;
    &lt;/description&gt;
    &lt;link&gt;&lt;xsl:value-of select="$homeURL"/&gt;&lt;/link&gt;

    &lt;items&gt;
      &lt;rdf:Seq&gt;
      
        &lt;xsl:for-each select="bookshelf/category"&gt;
          &lt;xsl:for-each select="subcategory"&gt;
            &lt;xsl:for-each select="format"&gt;
              &lt;xsl:for-each select="sbook"&gt;
                &lt;li&gt;
                  &lt;xsl:attribute name="rdf:resource"&gt;&lt;xsl:value-of select="$homeURL"/&gt;/&lt;xsl:value-of select="../../../@name"/&gt;/&lt;xsl:value-of select="../../@name"/&gt;/&lt;xsl:value-of select="../@name"/&gt;/&lt;xsl:value-of select="title"/&gt;/sbook.htm&lt;/xsl:attribute&gt;
                &lt;/li&gt;
              &lt;/xsl:for-each&gt;
            &lt;/xsl:for-each&gt;
          &lt;/xsl:for-each&gt;
        &lt;/xsl:for-each&gt;
            
      &lt;/rdf:Seq&gt;
    &lt;/items&gt;
  
  &lt;/channel&gt;
</t>
<t tx="T88">@code

  &lt;xsl:for-each select="bookshelf/category"&gt;
    &lt;xsl:for-each select="subcategory"&gt;
      &lt;xsl:for-each select="format"&gt;
        &lt;xsl:for-each select="sbook"&gt;
  
          &lt;item rdf:about="{$homeURL}"&gt;
            &lt;title&gt;&lt;xsl:value-of select="alias"/&gt;&lt;/title&gt;
            &lt;link&gt;&lt;xsl:value-of select="$homeURL"/&gt;/&lt;xsl:value-of select="../../../@name"/&gt;/&lt;xsl:value-of select="../../@name"/&gt;/&lt;xsl:value-of select="../@name"/&gt;/&lt;xsl:value-of select="title"/&gt;/sbook.htm&lt;/link&gt;
          &lt;/item&gt;

        &lt;/xsl:for-each&gt;
      &lt;/xsl:for-each&gt;
    &lt;/xsl:for-each&gt;
  &lt;/xsl:for-each&gt;</t>
<t tx="T89">@first &lt;?xml version="1.0"?&gt;
@language html
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:output method="html" indent="yes"/&gt;

&lt;xsl:variable name="pageCount" select="count(/screenbook/pages/page)"/&gt;
&lt;&lt; main template &gt;&gt;
&lt;/xsl:stylesheet&gt;</t>
<t tx="T90">@code

&lt;xsl:template match="/"&gt;
  &lt;html&gt;
    &lt;&lt; head &gt;&gt;
    &lt;&lt; body &gt;&gt;
  &lt;/html&gt;
&lt;/xsl:template&gt;</t>
<t tx="T91">@code

&lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;&lt;/meta&gt;
  &lt;link rel='stylesheet' type='text/css' href='sbook1.css'&gt;&lt;/link&gt;
  &lt;script src='sbook.js'&gt;&lt;/script&gt;
  &lt;style type="text/css"&gt;
  BODY {margin-left:0}
  &lt;/style&gt;
&lt;/head&gt;</t>
<t tx="T92">@code

&lt;body&gt;
&lt;table border="0" align="center"&gt;&lt;tr&gt;&lt;td&gt;

&lt;p class="head1"&gt;
  Screenbooks Table of Contents
&lt;/p&gt;
&lt;br/&gt;
&lt;span class="head1"&gt;&lt;div align="center"&gt;&lt;a href="sbframetoc_ie.htm"&gt;View this bookshelf in a Frame&lt;/a&gt;&lt;/div&gt;&lt;/span&gt;
&lt;br/&gt;
&lt;xsl:for-each select="bookshelf/category"&gt;
  &lt;span class="level1"&gt;
    &lt;xsl:value-of select="@alias"/&gt;
  &lt;/span&gt;
  &lt;br/&gt;
  &lt;xsl:for-each select="subcategory"&gt;
     &lt;span class="level2"&gt;
       &lt;xsl:value-of select="@alias"/&gt;
     &lt;/span&gt;
     &lt;br/&gt;
     &lt;xsl:for-each select="format"&gt;
        &lt;xsl:for-each select="sbook"&gt;
		   &lt;span class="level4"&gt;
             &lt;a&gt;
                &lt;xsl:attribute name="name"&gt;#a&lt;xsl:value-of select="position()"/&gt;&lt;/xsl:attribute&gt;
                &lt;xsl:attribute name="href"&gt;&lt;xsl:value-of select="../../../@name"/&gt;/&lt;xsl:value-of select="../../@name"/&gt;/&lt;xsl:value-of select="../@name"/&gt;/&lt;xsl:value-of select="title"/&gt;/slide01.htm&lt;/xsl:attribute&gt;
				&lt;xsl:value-of select="alias"/&gt;
             &lt;/a&gt;
           &lt;/span&gt;
           &lt;br/&gt;
        &lt;/xsl:for-each&gt;
     &lt;/xsl:for-each&gt;
  &lt;/xsl:for-each&gt;
&lt;/xsl:for-each&gt;

&lt;div class="br2"&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/body&gt;

</t>
<t tx="T93">@first &lt;?xml version="1.0"?&gt;
@language html
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:output method="html" indent="yes"/&gt;

&lt;xsl:variable name="pageCount" select="count(/screenbook/pages/page)"/&gt;
&lt;&lt; main template &gt;&gt;
&lt;/xsl:stylesheet&gt;

</t>
<t tx="T94">@code

&lt;xsl:template match="/"&gt;
  &lt;html&gt;
    &lt;&lt; head &gt;&gt;
    &lt;&lt; body &gt;&gt;
  &lt;/html&gt;
&lt;/xsl:template&gt;</t>
<t tx="T95">@code

&lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;&lt;/meta&gt;
  &lt;link rel='stylesheet' type='text/css' href='sbook1.css'&gt;&lt;/link&gt;
  &lt;script src='sbook.js'&gt;&lt;/script&gt;
  &lt;style type="text/css"&gt;
  BODY {margin-left:0}
  &lt;/style&gt;  
&lt;/head&gt;</t>
<t tx="T96">&lt;body onload='sync_ie()'&gt;
&lt;p class="head1"&gt;Leo - The Literate Editor with Outlines&lt;/p&gt;
&lt;form style='margin-bottom:0'&gt;
 &amp;#160; 
&lt;select name='pageType'&gt;
&lt;option selected="true"&gt;Slide View&lt;/option&gt;
&lt;option&gt;All Slides on one Page&lt;/option&gt;
&lt;option&gt;Text with Icons&lt;/option&gt;
&lt;option&gt;Page Titles&lt;/option&gt;
&lt;option&gt;Titles with Thumbnails&lt;/option&gt;
&lt;/select&gt;
&lt;/form&gt;
&lt;xsl:for-each select="bookshelf/category"&gt;
  &lt;span class="level1"&gt;
    &lt;xsl:value-of select="@alias"/&gt;
  &lt;/span&gt;
  &lt;br/&gt;
  &lt;xsl:for-each select="subcategory"&gt;
     &lt;span class="level2"&gt;
       Leo &lt;xsl:value-of select="@alias"/&gt;
     &lt;/span&gt;
     &lt;br/&gt;
     &lt;xsl:for-each select="format"&gt;
        &lt;xsl:for-each select="sbook"&gt;
           &lt;span class="level4"&gt;
		     &lt;a&gt;
                &lt;xsl:attribute name="name"&gt;#a&lt;xsl:value-of select="position()"/&gt;&lt;/xsl:attribute&gt;
                &lt;xsl:attribute name="href"&gt;javascript:select_ie('&lt;xsl:value-of select="../../../@name"/&gt;/&lt;xsl:value-of select="../../@name"/&gt;/&lt;xsl:value-of select="../@name"/&gt;/&lt;xsl:value-of select="title"/&gt;/slide01.htm')&lt;/xsl:attribute&gt;
				&lt;xsl:value-of select="alias"/&gt;
             &lt;/a&gt;
           &lt;/span&gt;
           &lt;br/&gt;
        &lt;/xsl:for-each&gt;
     &lt;/xsl:for-each&gt;
  &lt;/xsl:for-each&gt;
&lt;/xsl:for-each&gt;

&lt;div class="br2"&gt;&lt;/div&gt;
&lt;br/&gt;
&lt;/body&gt;
</t>
<t tx="T97">@first &lt;?xml version="1.0"?&gt;
@language html
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:output method="html" indent="yes"/&gt;

&lt;xsl:variable name="pageCount" select="count(/screenbook/pages/page)"/&gt;
&lt;&lt; main template &gt;&gt;
&lt;/xsl:stylesheet&gt;</t>
<t tx="T98">@code

&lt;xsl:template match="/"&gt;
  &lt;html&gt;
    &lt;&lt; head &gt;&gt;
    &lt;&lt; body &gt;&gt;
  &lt;/html&gt;
&lt;/xsl:template&gt;</t>
<t tx="T99">@code

&lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;&lt;/meta&gt;
  &lt;link rel='stylesheet' type='text/css' href='sbook1.css'&gt;&lt;/link&gt;
  &lt;script src='sbook.js'&gt;&lt;/script&gt;
&lt;/head&gt;</t>
<t tx="T100">&lt;body onload='sync_ns()'&gt;
&lt;table width="300" class="nshead1"&gt;
&lt;tr&gt;&lt;td class="nshead1"&gt;
  Leo - The Literate Editor with Outlines
&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;form style='margin-bottom:0'&gt;
&lt;select name='pageType'&gt;
&lt;option selected="true"&gt;Slide View&lt;/option&gt;
&lt;option&gt;All Slides on one Page&lt;/option&gt;
&lt;option&gt;Text with Icons&lt;/option&gt;
&lt;option&gt;Page Titles&lt;/option&gt;
&lt;option&gt;Titles with Thumbnails&lt;/option&gt;
&lt;/select&gt;
&lt;br/&gt;
&lt;xsl:for-each select="bookshelf/category"&gt;
  &lt;table width="300" class="nslevel1"&gt;
    &lt;tr&gt;&lt;td class="nslevel1"&gt;
    &lt;xsl:value-of select="@alias"/&gt;
    &lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
  &lt;xsl:for-each select="subcategory"&gt;
     &lt;table width="300" class="nslevel2"&gt;
       &lt;tr&gt;&lt;td class="nslevel2"&gt;
       Leo &lt;xsl:value-of select="@alias"/&gt;
     &lt;/td&gt;&lt;/tr&gt;
     &lt;/table&gt;
     &lt;xsl:for-each select="format"&gt;
        &lt;table width="300"&gt;
          &lt;tr&gt;&lt;td class="nslevel3"&gt;
          &lt;xsl:value-of select="@alias"/&gt;
          &lt;/td&gt;&lt;/tr&gt;
        &lt;/table&gt;
        &lt;table border="0"&gt;&lt;tr&gt;&lt;td nowrap="true"&gt;    
        &lt;xsl:for-each select="sbook"&gt;
           &lt;img src="wsquare.gif" border="0" align="left"/&gt;
           &lt;span class="nslevel4"&gt;
             &lt;a&gt;
                &lt;xsl:attribute name="name"&gt;#a&lt;xsl:value-of select="position()"/&gt;&lt;/xsl:attribute&gt;
                &lt;xsl:attribute name="href"&gt;javascript:select_ns('&lt;xsl:value-of select="../../../@name"/&gt;/&lt;xsl:value-of select="../../@name"/&gt;/&lt;xsl:value-of select="../@name"/&gt;/&lt;xsl:value-of select="title"/&gt;/slide01.htm')&lt;/xsl:attribute&gt;
				&lt;xsl:value-of select="alias"/&gt;
             &lt;/a&gt;
           &lt;/span&gt;
           &lt;br/&gt;
        &lt;/xsl:for-each&gt;
        &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
     &lt;/xsl:for-each&gt;
  &lt;/xsl:for-each&gt;
&lt;/xsl:for-each&gt;
&lt;br/&gt;
&lt;/form&gt;
&lt;hr/&gt;
&lt;/body&gt;
</t>
<t tx="T101">@first &lt;?xml version="1.0"?&gt;
@language html
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:output method="html" indent="yes"/&gt;

&lt;xsl:variable name="pageCount" select="count(/screenbook/pages/page)"/&gt;
&lt;&lt; main template &gt;&gt;
&lt;/xsl:stylesheet&gt;</t>
<t tx="T102">@code

&lt;xsl:template match="/"&gt;
  &lt;html&gt;
    &lt;&lt; head &gt;&gt;
    &lt;&lt; body &gt;&gt;
  &lt;/html&gt;
&lt;/xsl:template&gt;</t>
<t tx="T103">@code

&lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;&lt;/meta&gt;
  &lt;link rel='stylesheet' type='text/css' href='sbook1.css'&gt;&lt;/link&gt;
  &lt;script src='sbook.js'&gt;&lt;/script&gt;
&lt;/head&gt;</t>
<t tx="T104">@code

&lt;body&gt;
&lt;&lt; main table&gt;&gt;
&lt;br/&gt;
&lt;/body&gt;</t>
<t tx="T105">@code

&lt;table align="left" width="600" cellpadding="2" style="margin-left:20; border-collapse:collapse;" border="1"&gt;
  &lt;tr&gt;
    &lt;td align="center" style="font-size:22pt; font-weight:bold" colspan="2"&gt;
Screenbook Bookshelf Table of Contents
    &lt;br/&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
  &lt;xsl:for-each select="bookshelf/category"&gt;
  &lt;tr&gt;
    &lt;td style="font-size:18pt; color:white; background-color:darkgray; font-weight:bold" colspan="2"&gt;
        &lt;xsl:value-of select="@alias"/&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
    &lt;xsl:for-each select="subcategory"&gt;
    &lt;tr&gt;
      &lt;td style="font-weight:bold; background-color:thistle" colspan="2" valign="top"&gt;
        &amp;#160; &amp;#160;&lt;xsl:value-of select="@alias"/&gt;
      &lt;/td&gt;
    &lt;/tr&gt;
    &lt;xsl:for-each select="format"&gt;
      &lt;xsl:for-each select="sbook"&gt;
      &lt;tr&gt;
        &lt;td valign="top" colspan="2"&gt;
        &lt;table border="0"&gt;
        &lt;tr&gt;&lt;td valign="bottom" style="font-size:11pt; font-weight:bold"&gt;
            &amp;#160; &amp;#160; &amp;#160; &amp;#160;&lt;xsl:value-of select="alias"/&gt; &amp;#160;&lt;span style="font-size:8pt; font-weight:normal; font-style:italic"&gt;&lt;xsl:value-of select="slidecount"/&gt; pages&lt;/span&gt;
            &lt;xsl:text&gt; &amp;#160;&lt;/xsl:text&gt;
        &lt;/td&gt;&lt;td valign="bottom" align="left"&gt;
          &lt;span style="font-size:8pt"&gt;
          &lt;xsl:value-of select="description"/&gt;
          &lt;/span&gt;
        &lt;/td&gt;&lt;/tr&gt;
        &lt;/table&gt;
        &lt;/td&gt;
      &lt;/tr&gt;  
      &lt;/xsl:for-each&gt;
    &lt;/xsl:for-each&gt;
  &lt;/xsl:for-each&gt;
&lt;/xsl:for-each&gt;
&lt;/table&gt;
</t>
<t tx="T106">@first &lt;?xml version="1.0"?&gt;
@language html
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:output method="xml" indent="yes"/&gt;

&lt;&lt; main template &gt;&gt;

&lt;/xsl:stylesheet&gt;</t>
<t tx="T107">@code

&lt;xsl:template match="/"&gt;

  &lt;&lt;manifest&gt;&gt;
	
&lt;/xsl:template&gt;</t>
<t tx="T108">@code

  &lt;manifest identifier="MANIFEST1" xmlns="http://www.imsglobal.org/xsd/imscp_v1p1" 
    xmlns:imsmd="http://www.imsglobal.org/xsd/imsmd_v1p2" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://www.imsglobal.org/xsd/imscp_v1p1 imscp_v1p1p3.xsd http://www.imsglobal.org/xsd/imsmd_v1p2 imsmd_v1p2p2.xsd"&gt;

	&lt;&lt; metadata &gt;&gt;
	&lt;&lt; organizations &gt;&gt;
	&lt;&lt; resources &gt;&gt;
	
  &lt;/manifest&gt;
</t>
<t tx="T109">@code

&lt;metadata&gt;
  &lt;schema&gt;IMS CONTENT&lt;/schema&gt;
  &lt;schemaversion&gt;1.0&lt;/schemaversion&gt;
  &lt;imsmd:lom&gt;
    &lt;imsmd:general&gt;
      &lt;imsmd:title&gt;
        &lt;imsmd:langstring xml:lang="en"&gt;yo wattup ma home boy&lt;/imsmd:langstring&gt;
      &lt;/imsmd:title&gt;
    &lt;/imsmd:general&gt;
  &lt;/imsmd:lom&gt;
&lt;/metadata&gt;</t>
<t tx="T110">@code

&lt;organizations default="MANIFEST01_ORG1"&gt;
  &lt;organization identifier="MANIFEST01_ORG1"&gt;
    &lt;xsl:for-each select="bookshelf/category"&gt;
      &lt;xsl:variable name="catcount" select="position() * 100"/&gt;
	  &lt;item identifier="{concat('MANIFEST01_ITEM',$catcount)}" identifierref="MANIFEST01_RESOURCE00"&gt;
      &lt;title&gt;&lt;xsl:value-of select="@alias"/&gt;&lt;/title&gt;        

      &lt;xsl:for-each select="subcategory"&gt;
        &lt;xsl:variable name="subcatcount" select="position() * 10"/&gt;        
        &lt;item identifier="{concat('MANIFEST01_ITEM',$subcatcount)}" identifierref="MANIFEST01_RESOURCE00"&gt;
		&lt;title&gt;&lt;xsl:value-of select="@alias"/&gt;&lt;/title&gt;        
		&lt;xsl:for-each select="format"&gt;
          &lt;xsl:for-each select="sbook"&gt;
		  
            &lt;xsl:variable name="rescount" select="$catcount + $subcatcount + position()"/&gt;
			&lt;item identifier="{concat('MANIFEST01_ITEM',$rescount)}" identifierref="{concat('MANIFEST01_RESOURCE', $rescount)}" isvisible="true" parameters=""&gt;
              &lt;title&gt;&lt;xsl:value-of select="alias"/&gt;&lt;/title&gt;
            &lt;/item&gt;		
				 
          &lt;/xsl:for-each&gt;
        &lt;/xsl:for-each&gt;
        &lt;/item&gt;
	  &lt;/xsl:for-each&gt;
	  &lt;/item&gt;
	&lt;/xsl:for-each&gt; 
  &lt;/organization&gt;
&lt;/organizations&gt;

</t>
<t tx="T111">@code

&lt;resources&gt;

    &lt;xsl:for-each select="bookshelf/category"&gt;
      &lt;xsl:variable name="catcount" select="position() * 100"/&gt;
      &lt;xsl:for-each select="subcategory"&gt;
        &lt;xsl:variable name="subcatcount" select="position() * 10"/&gt;        
        &lt;xsl:for-each select="format"&gt;
          &lt;xsl:for-each select="sbook"&gt;
		  
            &lt;xsl:variable name="rescount" select="$catcount + $subcatcount + position()"/&gt;
            &lt;resource identifier="{concat('MANIFEST01_RESOURCE', $rescount)}" type="webcontent" &gt;
&lt;xsl:attribute name="href"&gt;&lt;xsl:value-of select="../../../@name"/&gt;/&lt;xsl:value-of select="../../@name"/&gt;/&lt;xsl:value-of select="../@name"/&gt;/&lt;xsl:value-of select="title"/&gt;/slide01.htm&lt;/xsl:attribute&gt;			
              &lt;file&gt;
&lt;xsl:attribute name="href"&gt;&lt;xsl:value-of select="../../../@name"/&gt;/&lt;xsl:value-of select="../../@name"/&gt;/&lt;xsl:value-of select="../@name"/&gt;/&lt;xsl:value-of select="title"/&gt;/slide01.htm&lt;/xsl:attribute&gt;			  
			  &lt;/file&gt;
            &lt;/resource&gt;
          
		  &lt;/xsl:for-each&gt;
        &lt;/xsl:for-each&gt;
      &lt;/xsl:for-each&gt;
	&lt;/xsl:for-each&gt; 

    &lt;resource identifier="MANIFEST01_RESOURCE00" type="webcontent" href="blank.htm"&gt;
      &lt;file href="blank.htm"/&gt;
    &lt;/resource&gt;
	
	
&lt;/resources&gt;
</t>
<t tx="T112">@first &lt;?xml version="1.0"?&gt;
@language html
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:output method="html" indent="yes"/&gt;

&lt;&lt; main template &gt;&gt;

&lt;/xsl:stylesheet&gt;</t>
<t tx="T113">&lt;xsl:template match="/"&gt;

&lt;html&gt;
	&lt;head&gt;
		&lt;LINK REL="stylesheet" TYPE="text/css" HREF="/lrn_viewer/contentviewer/coolmint.css"/&gt;
		&lt;title&gt;LRN Content Viewer&lt;/title&gt;
	&lt;/head&gt;
	&lt;body topmargin="0" leftmargin="10"&gt;
		&lt;table class="ShellTitleServicesArea" cellpadding="0" cellspacing="0" width="100%" height="100%" style="overflow-y:auto"&gt;
			&lt;tr&gt;
				&lt;td align="left" width="70%"&gt;
					&lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;
						&lt;tr&gt;
							&lt;td width="3%"&gt;&lt;/td&gt;
							&lt;td align="left" width="97%"&gt;
								&lt;nobr&gt;
									&lt;span class="ShellTitleText" id="ClassName"&gt;&lt;xsl:value-of select="/bookshelf/@name"/&gt;&lt;/span&gt;
								&lt;/nobr&gt;
							&lt;/td&gt;
						&lt;/tr&gt;
					&lt;/table&gt;
				&lt;/td&gt;
			&lt;/tr&gt;
		&lt;/table&gt;
	&lt;/body&gt;
&lt;/html&gt;

&lt;/xsl:template&gt;</t>
<t tx="T114">These are versions of the toc stylesheets that are used to generate the Table of Contents pages for bookshelves posted to the web.</t>
<t tx="T115">@first &lt;?xml version="1.0"?&gt;
@language html
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:output method="html" indent="yes"/&gt;

&lt;xsl:variable name="pageCount" select="count(/screenbook/pages/page)"/&gt;
&lt;&lt; main template &gt;&gt;
&lt;/xsl:stylesheet&gt;</t>
<t tx="T116">@code

&lt;xsl:template match="/"&gt;
  &lt;html&gt;
    &lt;&lt; head &gt;&gt;
    &lt;&lt; body &gt;&gt;
  &lt;/html&gt;
&lt;/xsl:template&gt;</t>
<t tx="T117">@code

&lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;&lt;/meta&gt;
  &lt;link rel='stylesheet' type='text/css' href='sbook1.css'&gt;&lt;/link&gt;
  &lt;script src='sbook.js'&gt;&lt;/script&gt;
&lt;/head&gt;</t>
<t tx="T118">@code

&lt;body&gt;
&lt;table border="0" align="center"&gt;&lt;tr&gt;&lt;td&gt;

&lt;p class="head1"&gt;
  Screenbooks Table of Contents
&lt;/p&gt;
&lt;br/&gt;
&lt;span class="head1"&gt;&lt;div align="center"&gt;&lt;a href="sbframetoc_ie.htm"&gt;View this bookshelf in a Frame&lt;/a&gt;&lt;/div&gt;&lt;/span&gt;
&lt;br/&gt;
&lt;xsl:for-each select="bookshelf/category"&gt;
  &lt;span class="level1"&gt;
    &lt;xsl:value-of select="@name"/&gt;
  &lt;/span&gt;
  &lt;br/&gt;
  &lt;xsl:for-each select="subcategory"&gt;
     &lt;span class="level2"&gt;
       &lt;xsl:value-of select="@name"/&gt;
     &lt;/span&gt;
     &lt;br/&gt;
     &lt;xsl:for-each select="format"&gt;
        &lt;xsl:for-each select="sbook"&gt;
		   &lt;span class="level4"&gt;
             &lt;a&gt;
                &lt;xsl:attribute name="name"&gt;#a&lt;xsl:value-of select="position()"/&gt;&lt;/xsl:attribute&gt;
                &lt;xsl:attribute name="href"&gt;&lt;xsl:value-of select="title"/&gt;/slide01.htm&lt;/xsl:attribute&gt;
				&lt;xsl:value-of select="alias"/&gt;
             &lt;/a&gt;
           &lt;/span&gt;
           &lt;br/&gt;
        &lt;/xsl:for-each&gt;
     &lt;/xsl:for-each&gt;
  &lt;/xsl:for-each&gt;
&lt;/xsl:for-each&gt;

&lt;div class="br2"&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/body&gt;

</t>
<t tx="T119">@first &lt;?xml version="1.0"?&gt;
@language html
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:output method="html" indent="yes"/&gt;

&lt;xsl:variable name="pageCount" select="count(/screenbook/pages/page)"/&gt;
&lt;&lt; main template &gt;&gt;
&lt;/xsl:stylesheet&gt;

</t>
<t tx="T120">@code

&lt;xsl:template match="/"&gt;
  &lt;html&gt;
    &lt;&lt; head &gt;&gt;
    &lt;&lt; body &gt;&gt;
  &lt;/html&gt;
&lt;/xsl:template&gt;</t>
<t tx="T121">@code

&lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;&lt;/meta&gt;
  &lt;link rel='stylesheet' type='text/css' href='sbook1.css'&gt;&lt;/link&gt;
  &lt;script src='sbook.js'&gt;&lt;/script&gt;
&lt;/head&gt;</t>
<t tx="T122">&lt;body onload='sync_ie()'&gt;
&lt;p class="head1"&gt;
  Leo - The Literate Editor with Outlines
&lt;/p&gt;
&lt;form style='margin-bottom:0'&gt;
&lt;select name='pageType'&gt;
&lt;option selected="true"&gt;Slide View&lt;/option&gt;
&lt;option&gt;All Slides on one Page&lt;/option&gt;
&lt;option&gt;Text with Icons&lt;/option&gt;
&lt;option&gt;Page Titles&lt;/option&gt;
&lt;option&gt;Titles with Thumbnails&lt;/option&gt;
&lt;/select&gt;
&lt;/form&gt;
&lt;xsl:for-each select="bookshelf/category"&gt;
  &lt;span class="level1"&gt;
    &lt;xsl:value-of select="@name"/&gt;
  &lt;/span&gt;
  &lt;br/&gt;
  &lt;xsl:for-each select="subcategory"&gt;
     &lt;span class="level2"&gt;
       Leo &lt;xsl:value-of select="@name"/&gt;
     &lt;/span&gt;
     &lt;br/&gt;
     &lt;xsl:for-each select="format"&gt;
        &lt;xsl:for-each select="sbook"&gt;
           &lt;span class="level4"&gt;
		     &lt;a&gt;
                &lt;xsl:attribute name="name"&gt;#a&lt;xsl:value-of select="position()"/&gt;&lt;/xsl:attribute&gt;
                &lt;xsl:attribute name="href"&gt;javascript:select_ie('&lt;xsl:value-of select="title"/&gt;/slide01.htm')&lt;/xsl:attribute&gt;
				&lt;xsl:value-of select="alias"/&gt;
             &lt;/a&gt;
           &lt;/span&gt;
           &lt;br/&gt;
        &lt;/xsl:for-each&gt;
     &lt;/xsl:for-each&gt;
  &lt;/xsl:for-each&gt;
&lt;/xsl:for-each&gt;

&lt;div class="br2"&gt;&lt;/div&gt;
&lt;br/&gt;
&lt;/body&gt;
</t>
<t tx="T123">@first &lt;?xml version="1.0"?&gt;
@language html
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:output method="html" indent="yes"/&gt;

&lt;xsl:variable name="pageCount" select="count(/screenbook/pages/page)"/&gt;
&lt;&lt; main template &gt;&gt;
&lt;/xsl:stylesheet&gt;</t>
<t tx="T124">@code

&lt;xsl:template match="/"&gt;
  &lt;html&gt;
    &lt;&lt; head &gt;&gt;
    &lt;&lt; body &gt;&gt;
  &lt;/html&gt;
&lt;/xsl:template&gt;</t>
<t tx="T125">@code

&lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;&lt;/meta&gt;
  &lt;link rel='stylesheet' type='text/css' href='sbook1.css'&gt;&lt;/link&gt;
  &lt;script src='sbook.js'&gt;&lt;/script&gt;
&lt;/head&gt;</t>
<t tx="T126">&lt;body onload='sync_ns()'&gt;
&lt;table width="300" class="nshead1"&gt;
&lt;tr&gt;&lt;td class="nshead1"&gt;
  Leo - The Literate Editor with Outlines
&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;form style='margin-bottom:0'&gt;
&lt;select name='pageType'&gt;
&lt;option selected="true"&gt;Slide View&lt;/option&gt;
&lt;option&gt;All Slides on one Page&lt;/option&gt;
&lt;option&gt;Text with Icons&lt;/option&gt;
&lt;option&gt;Page Titles&lt;/option&gt;
&lt;option&gt;Titles with Thumbnails&lt;/option&gt;
&lt;/select&gt;
&lt;br/&gt;
&lt;xsl:for-each select="bookshelf/category"&gt;
  &lt;table width="300" class="nslevel1"&gt;
    &lt;tr&gt;&lt;td class="nslevel1"&gt;
    &lt;xsl:value-of select="@name"/&gt;
    &lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
  &lt;xsl:for-each select="subcategory"&gt;
     &lt;table width="300" class="nslevel2"&gt;
       &lt;tr&gt;&lt;td class="nslevel2"&gt;
       Leo &lt;xsl:value-of select="@name"/&gt;
     &lt;/td&gt;&lt;/tr&gt;
     &lt;/table&gt;
     &lt;xsl:for-each select="format"&gt;
 	 &lt;!--
        &lt;table width="300"&gt;
          &lt;tr&gt;&lt;td class="nslevel3"&gt;
          &lt;xsl:value-of select="@alias"/&gt;
          &lt;/td&gt;&lt;/tr&gt;
        &lt;/table&gt;
		--&gt;
        &lt;table border="0"&gt;&lt;tr&gt;&lt;td nowrap="true"&gt;    
        &lt;xsl:for-each select="sbook"&gt;
           &lt;img src="wsquare.gif" border="0" align="left"/&gt;
           &lt;span class="nslevel4"&gt;
             &lt;a&gt;
                &lt;xsl:attribute name="name"&gt;#a&lt;xsl:value-of select="position()"/&gt;&lt;/xsl:attribute&gt;
                &lt;xsl:attribute name="href"&gt;javascript:select_ns('&lt;xsl:value-of select="title"/&gt;/slide01.htm')&lt;/xsl:attribute&gt;
				&lt;xsl:value-of select="alias"/&gt;
             &lt;/a&gt;
           &lt;/span&gt;
           &lt;br/&gt;
        &lt;/xsl:for-each&gt;
        &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
     &lt;/xsl:for-each&gt;
  &lt;/xsl:for-each&gt;
&lt;/xsl:for-each&gt;
&lt;br/&gt;
&lt;/form&gt;
&lt;hr/&gt;
&lt;/body&gt;
</t>
<t tx="T127">These XSLT stylesheets are applied to the bookshelf options.xml

opt_titlehh.xsl : creates the title page for the HTML Help file</t>
<t tx="T128">@first &lt;?xml version="1.0"?&gt;
@language html
&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
&lt;xsl:output method="html" indent="yes"/&gt;

&lt;&lt; main template &gt;&gt;

&lt;/xsl:stylesheet&gt;
</t>
<t tx="T129">@code

&lt;xsl:template match="/"&gt;

&lt;html&gt;
&lt;&lt; head &gt;&gt;
&lt;&lt; body &gt;&gt;
&lt;/html&gt;

&lt;/xsl:template&gt;</t>
<t tx="T130">@code

&lt;head&gt;
&lt;title&gt;HTML Help Title Page&lt;/title&gt;
&lt;/head&gt;</t>
<t tx="T131">@code

&lt;body bgcolor="#FFFFFF"&gt;
&lt;table align="center"&gt;
  &lt;tr&gt;
    &lt;td align="left"&gt;&lt;img src="choose.png" border="0"/&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;table border="0" cellspacing="2" cellpadding="10" align="center" bgcolor="#33CCCC" width="500"&gt;
  &lt;tr bgcolor="#FFFFFF"&gt; 
    &lt;td&gt;
      &lt;font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#9999FF"&gt;
        &lt;b&gt;Bookshelf Name:&lt;/b&gt;
      &lt;/font&gt;
      &lt;font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#000000"&gt;
        &lt;xsl:value-of select="//bookshelfName"/&gt;
      &lt;/font&gt;            
    &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr bgcolor="#FFFFFF"&gt; 
    &lt;td&gt;
      &lt;font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#9999FF"&gt;
        &lt;b&gt;Bookshelf Description:&lt;/b&gt;        
      &lt;/font&gt;
      &lt;font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#000000"&gt;
        &lt;xsl:value-of select="/options/description"/&gt;
      &lt;/font&gt;      
    &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr bgcolor="#FFFFFF"&gt; 
    &lt;td&gt;
      &lt;font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#9999FF"&gt;
        &lt;b&gt;By: &lt;/b&gt;        
      &lt;/font&gt;    
      &lt;font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#000000"&gt;
        &lt;xsl:value-of select="//ownerAuthor"/&gt;
      &lt;/font&gt;
      &amp;#160;
      &lt;font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#000000"&gt;
        &lt;xsl:value-of select="//copyright"/&gt;
      &lt;/font&gt;           
    &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr bgcolor="#FFFFFF"&gt; 
    &lt;td&gt;       
      &lt;font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#9999FF"&gt;
        &lt;b&gt;This HTML Help File was created with: &lt;/b&gt;
       &lt;/font&gt;
     &lt;br/&gt;
     &lt;a href="http://www.screenbooks.net"&gt;&lt;img src="sbookhh.png" border="0"/&gt;&lt;/a&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;
&lt;/body&gt;
</t>
</tnodes>
</leo_file>
