<xsl:template name="itemSummaryList-DIM">. . . . </xsl:template> |
<img> |
<xsl:choose> <xsl:when test="''$data/dim:field[@element='type']='image''' "> <xsl:attribute name="src"> <xsl:value-of select="$theme-path"/> <xsl:text>''/images/image.jpg'' </xsl:text> </xsl:attribute> </xsl:when> ''... add other icon cases ...'' <xsl:otherwise> <xsl:attribute name="src"> <xsl:value-of select="$theme-path"/> <xsl:text>''/images/unknown.jpg'' </xsl:text> </xsl:attribute> </xsl:otherwise> </xsl:choose> </img> |