<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"
	>	
	
	<xsl:template name="coll-description">
	  <p><xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='shortDescription']"/></p>
	  
	  <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description1']"/>
	  <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description2']"/>
	  <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description3']"/>
	  <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description4']"/>	 
	  
	  
	  <div class="section"><table id='toc' class='toc'><tr><td><div id='toctitle'><h2>Contents</h2></div>
		<ul>
		<li class='toclevel-1'><a><xsl:attribute name='href'><gsf:collectionPath/>/document/greenstonewiki_cs_waikato_ac_nz-wiki-index_php-Main_Page_html#Documentation</xsl:attribute><span class="tocnumber">1</span> <span class="toctext">Documentation</span></a>
		<ul>
		<li class='toclevel-2'><a><xsl:attribute name='href'><gsf:collectionPath/>/document/greenstonewiki_cs_waikato_ac_nz-wiki-index_php-Main_Page_html#Greenstone_FAQ</xsl:attribute><span class="tocnumber">1.1</span> <span class="toctext">Greenstone FAQ</span></a></li>
		<li class='toclevel-2'><a><xsl:attribute name='href'><gsf:collectionPath/>/document/greenstonewiki_cs_waikato_ac_nz-wiki-index_php-Main_Page_html#General_Documentation</xsl:attribute><span class="tocnumber">1.2</span> <span class="toctext">General Documentation</span></a></li>
		<li class='toclevel-2'><a><xsl:attribute name='href'><gsf:collectionPath/>/document/greenstonewiki_cs_waikato_ac_nz-wiki-index_php-Main_Page_html#Greenstone3</xsl:attribute><span class="tocnumber">1.3</span> <span class="toctext">Greenstone3</span></a></li>
		<li class='toclevel-2'><a><xsl:attribute name='href'><gsf:collectionPath/>/document/greenstonewiki_cs_waikato_ac_nz-wiki-index_php-Main_Page_html#Tutorial_exercises</xsl:attribute><span class="tocnumber">1.4</span> <span class="toctext">Tutorial exercises</span></a></li>
		<li class='toclevel-2'><a><xsl:attribute name='href'><gsf:collectionPath/>/document/greenstonewiki_cs_waikato_ac_nz-wiki-index_php-Main_Page_html#Example_Collections</xsl:attribute><span class="tocnumber">1.5</span> <span class="toctext">Example Collections</span></a></li>
		<li class='toclevel-2'><a><xsl:attribute name='href'><gsf:collectionPath/>/document/greenstonewiki_cs_waikato_ac_nz-wiki-index_php-Main_Page_html#Manuals</xsl:attribute><span class="tocnumber">1.6</span> <span class="toctext">Manuals</span></a></li>
		<li class='toclevel-2'><a><xsl:attribute name='href'><gsf:collectionPath/>/document/greenstonewiki_cs_waikato_ac_nz-wiki-index_php-Main_Page_html#Greenstone_workshops</xsl:attribute><span class="tocnumber">1.7</span> <span class="toctext">Greenstone workshops</span></a></li>
		</ul>
		</li>
		<li class='toclevel-1'><a><xsl:attribute name='href'><gsf:collectionPath/>/document/greenstonewiki_cs_waikato_ac_nz-wiki-index_php-Main_Page_html#Internationalization</xsl:attribute><span class="tocnumber">2</span> <span class="toctext">Internationalization</span></a></li>
		<li class='toclevel-1'><a><xsl:attribute name='href'><gsf:collectionPath/>/document/greenstonewiki_cs_waikato_ac_nz-wiki-index_php-Main_Page_html#Greenstone_Development</xsl:attribute><span class="tocnumber">3</span> <span class="toctext">Greenstone Development</span></a></li>
		<li class='toclevel-1'><a><xsl:attribute name='href'><gsf:collectionPath/>/document/greenstonewiki_cs_waikato_ac_nz-wiki-index_php-Main_Page_html#Other_links_for_Greenstone_users</xsl:attribute><span class="tocnumber">4</span> <span class="toctext">Other links for Greenstone users</span></a></li>
		</ul>
		</td></tr></table>
	  </div>
	  
	</xsl:template>

</xsl:stylesheet>  

