]> matita.cs.unibo.it Git - helm.git/blob - helm/mowgli/home/xsl/xhtml-content.xsl
changed format of content file, now xhtml
[helm.git] / helm / mowgli / home / xsl / xhtml-content.xsl
1 <?xml version="1.0"?>
2
3 <xsl:stylesheet version="1.0"
4                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
5
6 <xsl:import href="common.xsl"/>
7
8 <xsl:output method="html"/>
9
10 <xsl:param name="path_to_top" select="'.'"/>
11
12 <xsl:template match="html">
13  <html>
14   <head>
15    <title><xsl:value-of select="head/title"/></title>
16    <link rel="stylesheet" href="{$path_to_top}/../style/mowgli.css" type="text/css"/>
17   </head>
18   <body>
19     <xsl:call-template name="head">
20      <xsl:with-param name="path_to_top" select="$path_to_top"/>
21     </xsl:call-template>
22     <xsl:copy-of select="body/node()"/>
23     <xsl:call-template name="foot">
24      <xsl:with-param name="path_to_top" select="$path_to_top"/>
25     </xsl:call-template>
26   </body>
27  </html>
28 </xsl:template>
29
30 </xsl:stylesheet>
31