]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/mowgli/home/xsl/xhtml-content.xsl
- added publication index
[helm.git] / helm / mowgli / home / xsl / xhtml-content.xsl
diff --git a/helm/mowgli/home/xsl/xhtml-content.xsl b/helm/mowgli/home/xsl/xhtml-content.xsl
new file mode 100644 (file)
index 0000000..1830cd8
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet version="1.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:import href="common.xsl"/>
+
+<xsl:output method="html"/>
+
+<xsl:param name="path_to_top" select="'.'"/>
+
+<xsl:template match="content">
+ <html>
+  <head>
+   <title><xsl:value-of select="@title"/></title>
+   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+   <link rel="stylesheet" href="{$path_to_top}/../style/mowgli.css" type="text/css"/>
+  </head>
+  <body>
+    <xsl:call-template name="head">
+     <xsl:with-param name="path_to_top" select="$path_to_top"/>
+    </xsl:call-template>
+    <xsl:copy-of select="node()"/>
+    <xsl:call-template name="foot">
+     <xsl:with-param name="path_to_top" select="$path_to_top"/>
+    </xsl:call-template>
+  </body>
+ </html>
+</xsl:template>
+
+</xsl:stylesheet>
+