Как вывести alt? Изображение без alt выводится?
<img src="/images/cms/thumbs/a47f0b7da6923bed8a792d31599e28712d335ad7/istra_plani_1et_395_auto_0_80.jpg" width="395" height="395">
<xsl:template name="mini-photo-2">
<xsl:param name="img" select="0"/>
<xsl:param name="rel" select="0"/>
<xsl:param name="alt" />
<xsl:if test="$img/value !=''">
<li>
<a class="group2" href="{$img/value}">
<xsl:call-template name="thumbnail-project">
<xsl:with-param name="element-id" select="1" />
<xsl:with-param name="src"><xsl:value-of select="$img/value" /></xsl:with-param>
<xsl:with-param name="empty">&empty-photo;</xsl:with-param>
<xsl:with-param name="width">395</xsl:with-param>
<xsl:with-param name="alt" select="$alt" />
</xsl:call-template>
</a>
</li>
</xsl:if>
</xsl:template>