строчку в шаблоне
<a href="{$link}" title="{name}" data-tooltip="sticky{propertys/property[@xml_name = 'kartinka']/@id}"><xsl:value-of disable-output-escaping="yes" select="name"/>
</a>
заменить на
<a href="{$link}" title="{name}">
<xsl:if test="propertys/property[@xml_name = 'kartinka']/node()">
<xsl:attribute name="data-tooltip">sticky<xsl:value-of select="propertys/property[@xml_name = 'kartinka']/@id"/></xsl:attribute>
</xsl:if>
<xsl:value-of disable-output-escaping="yes" select="name"/>
</a>