]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/mowgli/home/xsl/publication.xsl
* New data
[helm.git] / helm / mowgli / home / xsl / publication.xsl
index 49a9b7b172fa761f2b2b13fbac47cdfaa5b49c2c..f994ad30b6035c976636e0475dc2d099b93dc195 100644 (file)
@@ -3,17 +3,17 @@
 <xsl:stylesheet version="1.0"
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
-<xsl:output method="html"/>
+<xsl:import href="common.xsl"/>
+
+<xsl:output method="xml"/>
 
 <xsl:template match="/">
  <html>
   <head>
    <title><xsl:value-of select="publication/title"/></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>
    <xsl:choose>
     <xsl:when test="@file">
      <a href="../../people/{@file}.html">
-      <xsl:value-of select="@file"/>
+      <xsl:call-template name="person-name">
+       <xsl:with-param name="form" select="'abbreviated'"/>
+       <xsl:with-param name="file" select="@file"/>
+      </xsl:call-template>
      </a>
     </xsl:when>
     <xsl:otherwise>