[Yanel-commits] rev 29334 - public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt

michi at wyona.com michi at wyona.com
Wed Nov 28 23:07:14 CET 2007


Author: michi
Date: 2007-11-28 23:07:13 +0100 (Wed, 28 Nov 2007)
New Revision: 29334

Modified:
   public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl
Log:
no results added

Modified: public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl
===================================================================
--- public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl	2007-11-28 22:02:40 UTC (rev 29333)
+++ public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl	2007-11-28 22:07:13 UTC (rev 29334)
@@ -96,6 +96,10 @@
   <xsl:apply-templates/>
 </xsl:template>
 
+<xsl:template match="foaf:no-results">
+  <p>No results from this provider!</p>
+</xsl:template>
+
 <xsl:template match="foaf:result">
   <p>
   <b><xsl:choose><xsl:when test="foaf:mime-type/@suffix = 'rdf'"><a href="print.html?href={foaf:url}"><xsl:value-of select="foaf:title"/></a></xsl:when><xsl:otherwise><a href="{foaf:url}"><xsl:value-of select="foaf:title"/></a></xsl:otherwise></xsl:choose></b>



More information about the Yanel-commits mailing list