]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/mowgli/home/xsl/xhtml-content.xsl
changed format of content file, now xhtml
[helm.git] / helm / mowgli / home / xsl / xhtml-content.xsl
index 1830cd829cfdf9ab8c086a3d1c498dbc1610ce0f..bd492129cf5ca6ef5e7e98444689aa6770601e18 100644 (file)
@@ -9,18 +9,17 @@
 
 <xsl:param name="path_to_top" select="'.'"/>
 
-<xsl:template match="content">
+<xsl:template match="html">
  <html>
   <head>
-   <title><xsl:value-of select="@title"/></title>
-   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+   <title><xsl:value-of select="head/title"/></title>
    <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:copy-of select="body/node()"/>
     <xsl:call-template name="foot">
      <xsl:with-param name="path_to_top" select="$path_to_top"/>
     </xsl:call-template>