]> matita.cs.unibo.it Git - helm.git/commitdiff
changed format of content file, now xhtml
authorLuca Padovani <luca.padovani@unito.it>
Tue, 19 Feb 2002 00:49:02 +0000 (00:49 +0000)
committerLuca Padovani <luca.padovani@unito.it>
Tue, 19 Feb 2002 00:49:02 +0000 (00:49 +0000)
helm/mowgli/home/xml/members-index.xml
helm/mowgli/home/xml/software/index.xml
helm/mowgli/home/xsl/xhtml-content.xsl

index b69081dae6a3a1e35304ca390d8cb9caba18b13b..93eb7a7cf3e262644563c7791e65cd569205de9c 100644 (file)
@@ -1,6 +1,10 @@
 <?xml version="1.0"?>
 
-<content title="Members Area">
+<html>
+ <head>
+  <title>Members Area</title>
+ </head>
+ <body>
   <h1>Members Area</h1>
 
   This page has restricted access, so that members of the project only
@@ -35,5 +39,6 @@
       General development issues of the project
     </dd>
   </dl>
-</content>
+ </body>
+</html>
 
index e6e52d614f051251fee7b43a44305ca39d75f7f8..2f973b3cafe47e7de6dfda2349d3f1f439eb1f91 100644 (file)
@@ -1,11 +1,17 @@
 <?xml version="1.0"?>
 
-<content title="Members Area">
+<html>
+ <head>
+  <title>Software</title>
+ </head>
+
+ <body>
   <h1>Software</h1>
 
   Nothing has been released yet. Try later.
 
   <br/><br/>
+ </body>
 
-</content>
+</html>
 
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>