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

michi at wyona.com michi at wyona.com
Tue Jan 8 00:12:53 CET 2008


Author: michi
Date: 2008-01-08 00:12:52 +0100 (Tue, 08 Jan 2008)
New Revision: 30226

Modified:
   public/yanel/contributions/realms/foaf/data/xslt/foaf2xhtml.xsl
Log:
use fieldset

Modified: public/yanel/contributions/realms/foaf/data/xslt/foaf2xhtml.xsl
===================================================================
--- public/yanel/contributions/realms/foaf/data/xslt/foaf2xhtml.xsl	2008-01-07 22:38:01 UTC (rev 30225)
+++ public/yanel/contributions/realms/foaf/data/xslt/foaf2xhtml.xsl	2008-01-07 23:12:52 UTC (rev 30226)
@@ -41,14 +41,18 @@
 </head>
 
 <body>
-<table border="1">
-<tr>
-<td colspan="2"><a href="{$yarep.back2realm}index.html">Find A Friend</a></td><td align="right"><xsl:choose><xsl:when test="$username != 'foaf:uin'">Signed in as <b><xsl:value-of select="$username"/></b>&#160;(<a href="?yanel.usecase=logout">Logout</a>)</xsl:when><xsl:otherwise><a href="{$yarep.back2realm}login.html">Login</a></xsl:otherwise></xsl:choose> | <a href="?yanel.toolbar=on">Toolbar</a></td>
+<table border="0">
+<tr height="50">
+<td><a href="{$yarep.back2realm}index.html">Find A Friend</a></td><td align="right"><xsl:choose><xsl:when test="$username != 'foaf:uin'">Signed in as <b><xsl:value-of select="$username"/></b>&#160;(<a href="?yanel.usecase=logout">Logout</a>)</xsl:when><xsl:otherwise><a href="{$yarep.back2realm}login.html">Login</a></xsl:otherwise></xsl:choose> | <a href="?yanel.toolbar=on">Toolbar</a></td>
 </tr>
+
 <tr>
+<td colspan="2">
+<fieldset>
+<legend><b><xsl:if test="/wyona:foaf/wyona:third-party-source">Third-Party </xsl:if>Profile of <xsl:value-of select="/wyona:foaf/rdf:RDF/foaf:Person/foaf:name"/></b></legend>
+<table border="0">
+<tr>
 <td>
-<h2><xsl:if test="/wyona:foaf/wyona:third-party-source">Third-Party </xsl:if>Profile of <xsl:value-of select="/wyona:foaf/rdf:RDF/foaf:Person/foaf:name"/></h2>
-
 <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"/>
@@ -86,6 +90,10 @@
 </td>
 </tr>
 </table>
+</fieldset>
+</td>
+</tr>
+</table>
 </body>
 </html>
 </xsl:template>



More information about the Yanel-commits mailing list