]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/mowgli/home/xsl/site.xsl
Modified Files:
[helm.git] / helm / mowgli / home / xsl / site.xsl
index f7568a823ba4ebef55c50c40bc19c807b8225a14..034bc93293a33acd699479e1c3fc713764388d10 100644 (file)
@@ -5,17 +5,15 @@
 
 <xsl:import href="common.xsl"/>
 
-<xsl:output method="html"/>
+<xsl:output method="xml"/>
 
 <xsl:template match="/">
  <html>
   <head>
    <title><xsl:value-of select="site/name"/></title>
-   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-   <link rel="stylesheet" href="../../style/mowgli.css" type="text/css"/>
   </head>
   <body>
-   <xsl:apply-templates/>
+    <xsl:apply-templates/>
   </body>
  </html>
 </xsl:template>
@@ -47,7 +45,9 @@
    <p>
     <xsl:text>Site responsible: </xsl:text>
     <a href="../people/{responsible/@file}.html">
-     <xsl:value-of select="responsible/@file"/>
+     <xsl:call-template name="person-name">
+      <xsl:with-param name="file" select="responsible/@file"/>
+     </xsl:call-template>
     </a>
     <xsl:text>.</xsl:text>
    </p>
@@ -75,7 +75,9 @@
   <xsl:for-each select="member">
    <li>
     <a href="../people/{@file}.html">
-     <xsl:value-of select="@file"/>
+     <xsl:call-template name="person-name">
+      <xsl:with-param name="file" select="@file"/>
+     </xsl:call-template>
     </a>
    </li>
   </xsl:for-each>