[Yanel-commits] rev 29831 -
public/yanel/contributions/realms/foaf/data/xslt
michi at wyona.com
michi at wyona.com
Thu Dec 13 00:16:00 CET 2007
Author: michi
Date: 2007-12-13 00:15:59 +0100 (Thu, 13 Dec 2007)
New Revision: 29831
Modified:
public/yanel/contributions/realms/foaf/data/xslt/foaf2xhtml.xsl
Log:
homepage fixed
Modified: public/yanel/contributions/realms/foaf/data/xslt/foaf2xhtml.xsl
===================================================================
--- public/yanel/contributions/realms/foaf/data/xslt/foaf2xhtml.xsl 2007-12-12 23:10:46 UTC (rev 29830)
+++ public/yanel/contributions/realms/foaf/data/xslt/foaf2xhtml.xsl 2007-12-12 23:15:59 UTC (rev 29831)
@@ -135,6 +135,9 @@
</xsl:otherwise>
</xsl:choose>
</xsl:when>
+ <xsl:when test="foaf:homepage">
+ <a href="{foaf:homepage/@rdf:resource}"><xsl:value-of select="foaf:name"/></a>
+ </xsl:when>
<xsl:otherwise>
<xsl:value-of select="foaf:name"/>
</xsl:otherwise>
More information about the Yanel-commits
mailing list