<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
		xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
		xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
		xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"
		xmlns:gslib="http://www.greenstone.org/skinning">

	
  <xsl:template name="coll-description">
    <xsl:variable name="args"><gslib:collectionMeta name="numDocs"/>;https://www.cs.waikato.ac.nz;https://www.waikato.ac.nz;library/collection/marc-e/document/D0s156</xsl:variable>
    <!-- want to pass in arguments to this key (numdocs + urls), so need to call getCollectionText directly, as args won't be filled out in displayItemList -->
    <xsl:copy-of select="util:getCollectionText($collName, $site_name,'collectionConfig', /page/@lang, 'description1a', $args)/node()"/>
	  <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']"/>
	  <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description5']"/>
	  <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description6']"/>
	  
	</xsl:template>

</xsl:stylesheet>  

