<?xml version="1.0"?>
<!-- Style to be imported. Contains nodeType - icon mappings. -->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
   <xsl:param name="xsl">icons/doc.gif</xsl:param>
   <xsl:param name="html">icons/doc.gif</xsl:param>
   <xsl:param name="folder">icons/doc.gif</xsl:param>
   <xsl:param name="doc">icons/doc.gif</xsl:param>


   <xsl:template name="nodeTypeIcon">
        <img>
        <xsl:attribute name="src">		      
			 <xsl:value-of select="$imageUrl" />
			   
			 <xsl:choose>
			    <xsl:when test="@type = 'xsl'"><xsl:value-of select="$xsl"/>
				</xsl:when>
				<xsl:when test="@type = 'html'"><xsl:value-of select="$html"/>
			    </xsl:when>
				<xsl:when test="@type = 'folder'"><xsl:value-of select="$folder"/>
			    </xsl:when>
				<xsl:when test="@type = 'doc'"><xsl:value-of select="$doc"/>
			    </xsl:when>
			 </xsl:choose>  
        </xsl:attribute>
        </img>
   </xsl:template>
</xsl:stylesheet>
