manub
unread,Nov 6, 2009, 8:26:18 AM11/6/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Hi everybody,
I modified my XSLT to show a metadata value as a snippet rather than
the original one. Now I want to format in bold (the classic
reformat_keyword) that snippet, bolding the search terms.
I used this approach, but it doesn't work (it still shows me the
metadata as a snipped, but without formatting):
<xsl:choose>
<xsl:when test="MT/@N='Contenuto' and MT/@V!=''">
<xsl:call-template name="reformat_keyword">
<xsl:with-param name="orig_string">
<xsl:value-of select="MT[@N = 'Contenuto']/@V"/>
</xsl:with-param>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="reformat_keyword">
<xsl:with-param name="orig_string" select="S"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
Any suggestions?
Thank you.