]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/mowgli/home/xsl/news.xsl
- main page now generated automatically
[helm.git] / helm / mowgli / home / xsl / news.xsl
index 6e7146cb1e3a5f6dc83048360b6977fe1a6439e4..7ce85ac1afea39349f1344bb740dc2f014e096db 100644 (file)
    <link rel="stylesheet" href="../style/mowgli.css" type="text/css"/>
   </head>
   <body>
-   <blockquote>
-    <xsl:call-template name="head"/>
+    <xsl:call-template name="head">
+     <xsl:with-param name="path_to_top" select="'.'"/>
+    </xsl:call-template>
     <h1>News Archive</h1>
     <dl>
      <xsl:apply-templates/>
     </dl>
-    <xsl:call-template name="foot"/>
-   </blockquote>
+    <xsl:call-template name="foot">
+     <xsl:with-param name="path_to_top" select="'.'"/>
+    </xsl:call-template>
   </body>
  </html>
 </xsl:template>
 <xsl:template match="event">
  <dt>
   <b><xsl:value-of select="date"/></b>
-  <xsl:if test="head">
+  <xsl:if test="header">
    <xsl:value-of select="' -- '"/>
    <em>
-    <xsl:value-of select="head"/>
+    <xsl:value-of select="header"/>
    </em>
   </xsl:if>
  </dt>
@@ -46,9 +48,9 @@
     <em>
      <a href="people/{who/@file}.html">
       <div class="small">
-       <xsl:value-of select="$who/name"/>
-       <xsl:text> </xsl:text>
-       <xsl:value-of select="$who/surname"/>
+       <xsl:call-template name="person-name">
+        <xsl:with-param name="file" select="who/@file"/>
+       </xsl:call-template>
       </div>
      </a>
     </em>