<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform">	
	
	<xsl:template name="coll-description">
	  <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='shortDescription']"/>
	  
	  <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']"/>
	  <p><xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description5']"/>
	  <pre>
&lt;format&gt; 
	&lt;gsf:template match="documentNode"&gt; 
		&lt;td valign="top"&gt; 
			&lt;gsf:link type="document"&gt; 
				&lt;gsf:icon type="document"/&gt; 
			&lt;/gsf:link&gt; 
		&lt;/td&gt; 
		&lt;td valign="top"&gt; 
			&lt;gsf:link type="source"&gt; 
				&lt;gsf:choose-metadata&gt; 
					&lt;gsf:metadata name="thumbicon"/&gt; 
					&lt;gsf:metadata name="srcicon"/&gt; 
				&lt;/gsf:choose-metadata&gt; 
			&lt;/gsf:link&gt; 
		&lt;/td&gt; 
		&lt;td valign="top"&gt; 
			&lt;span class="highlight"&gt; 
				&lt;gsf:choose-metadata&gt;&lt;gsf:metadata name="dc.Title"/&gt;&lt;gsf:metadata name="exp.Title"/&gt;&lt;gsf:metadata name="Title"/&gt;Untitled&lt;/gsf:choose-metadata&gt; 
			&lt;/span&gt; 
			&lt;gsf:switch&gt; 
				&lt;gsf:metadata name="Source"/&gt; 
				&lt;gsf:when test="exists"&gt; 
					&lt;br/&gt; 
					&lt;i&gt;(&lt;gsf:metadata name="Source"/&gt;)&lt;/i&gt; 
				&lt;/gsf:when&gt; 
			&lt;/gsf:switch&gt; 
		&lt;/td&gt; 
	&lt;/gsf:template&gt; 
&lt;/format&gt;
</pre> 

	  </p>
	</xsl:template>

</xsl:stylesheet>  

