[med-svn] r3873 - trunk/community/website

Steffen Möller smoe-guest at alioth.debian.org
Thu Sep 3 15:49:44 UTC 2009


Author: smoe-guest
Date: 2009-09-03 15:49:44 +0000 (Thu, 03 Sep 2009)
New Revision: 3873

Modified:
   trunk/community/website/organisations.xsl
Log:
Showing URLs properly.


Modified: trunk/community/website/organisations.xsl
===================================================================
--- trunk/community/website/organisations.xsl	2009-09-03 15:41:27 UTC (rev 3872)
+++ trunk/community/website/organisations.xsl	2009-09-03 15:49:44 UTC (rev 3873)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
+<xsl:variable name="empty_string" select="''" />
 <xsl:template match="/">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
   <head>
@@ -19,8 +19,9 @@
   <hr />
   <table border="0">
     <xsl:for-each select="organisations/org">
+    <xsl:variable name="url" select="url" />
     <tr>
-      <td rowspan="2" align="center" valign="top"><a href=""><xsl:value-of select="title"/></a></td><td>
+      <td rowspan="2" align="center" valign="top"><a href="{url}"><xsl:value-of select="title"/></a></td><td>
 		<xsl:value-of select="longtitle"/><br/>
 		<xsl:value-of select="description"/>
       </td></tr>
@@ -28,7 +29,7 @@
       <td><ul>
 		<li>Outreach: <xsl:value-of select="region"/></li>
       		<li>Members: <xsl:value-of select="members"/></li>
-      		<li>URL: <xsl:value-of select="url"/></li>
+      		<li>URL: <a href="{url}"><xsl:value-of select="url"/></a></li>
 	</ul>
       </td>
     </tr>




More information about the debian-med-commit mailing list