[Yanel-commits] rev 30095 - public/yanel/contributions/realms/foaf/data/xslt

michi at wyona.com michi at wyona.com
Sat Dec 22 23:38:37 CET 2007


Author: michi
Date: 2007-12-22 23:38:37 +0100 (Sat, 22 Dec 2007)
New Revision: 30095

Modified:
   public/yanel/contributions/realms/foaf/data/xslt/foaf2xhtml.xsl
Log:
weblog added

Modified: public/yanel/contributions/realms/foaf/data/xslt/foaf2xhtml.xsl
===================================================================
--- public/yanel/contributions/realms/foaf/data/xslt/foaf2xhtml.xsl	2007-12-22 22:33:39 UTC (rev 30094)
+++ public/yanel/contributions/realms/foaf/data/xslt/foaf2xhtml.xsl	2007-12-22 22:38:37 UTC (rev 30095)
@@ -51,6 +51,7 @@
 <xsl:apply-templates select="/wyona:foaf/rdf:RDF/foaf:Person/foaf:workplaceHomepage"/>
 <xsl:apply-templates select="/wyona:foaf/rdf:RDF/foaf:Person/foaf:homepage"/>
 <xsl:apply-templates select="/wyona:foaf/rdf:RDF/foaf:Person/foaf:phone"/>
+<xsl:apply-templates select="/wyona:foaf/rdf:RDF/foaf:Person/foaf:weblog"/>
 <xsl:apply-templates select="/wyona:foaf/rdf:RDF/foaf:Person/foaf:depiction"/>
 
 
@@ -181,6 +182,12 @@
 </p>
 </xsl:template>
 
+<xsl:template match="foaf:weblog">
+<p>
+Weblog: <a href="{@rdf:resource}"><xsl:value-of select="@rdf:resource"/></a>
+</p>
+</xsl:template>
+
 <xsl:template match="foaf:depiction">
 <p>
 <img src="{@rdf:resource}" height="200"/>



More information about the Yanel-commits mailing list