]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/xml/ld-html-root.xsl
we are migrating the static htnl pagest to html 4 to xhtml 1.1 + css
[helm.git] / helm / software / lambda-delta / xml / ld-html-root.xsl
index 4a525a74297bdbac9da304f42d55affbc09dc772..242baf286e30cd153975b53c382020952f2b211a 100644 (file)
      \ /   This software is distributed as is, NO WARRANTY.              
       V_______________________________________________________________ -->
 
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                              xmlns="http://www.w3.org/1999/xhtml"
+>
 
 <xsl:strip-space elements="ENTITY"/>
 
 <xsl:template match="/">
-   <html><head>
-      <meta content="Ferruccio Guidi" name="author"/>
-      <meta content="lambda-delta digital library" name="description"/>
+   <html xmlns="http://www.w3.org/1999/xhtml"><head>
+      <meta http-equiv="Content-Language" content="en-us"/>
+      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+      <meta http-equiv="Content-Style-Type" content="text/css"/>
+      <meta name="author" content="Ferruccio Guidi"/>
+      <meta name="description" content="lambda-delta digital library"/>
       <title>lambda-delta digital library (LDDL)</title>
+      <link rel="stylesheet" type="text/css"
+            href="http://helm.cs.unibo.it/lambda-delta/static/lddl/ld-html.css"
+      />
       <link rel="shortcut icon" 
             href="http://helm.cs.unibo.it/lambda-delta/download/crux-16.ico"
       />
    </head><body>
-      <div style="text-align: center;"><h2/>         
+      <div style="text-align: center;"><br/>         
         <a href="http://helm.cs.unibo.it/lambda-delta/">
          <img style="border: 0px solid; width: 32px; height: 32px;" 
              alt="[lambda-delta home]" title="lambda-delta home"
                       margin-left: auto; margin-right: auto;"
          ><tbody><tr><td style="vertical-align: top;">
            <xsl:apply-templates/>
-        </td></tr></tbody></table><h2/>
+        </td></tr></tbody></table><br/>
          <a href="http://validator.w3.org/check?uri=referer">
-         <img alt="[Valid HTML 4.01 Transitional]"
-             title="Valid HTML 4.01 Transitional"
-              src="http://www.w3.org/Icons/valid-html401"
+        <img alt="[Valid XHTML 1.1]"
+             title="Valid XHTML 1.1"
+             src="http://www.w3.org/Icons/valid-xhtml11"
               style="border: 0px solid ; width: 88px; height: 31px;"
-         /></a>
+        /></a>
+         <a href="http://jigsaw.w3.org/css-validator/check/referer">
+         <img alt="[Valid CSS]"
+             title="Valid CSS"
+             src="http://jigsaw.w3.org/css-validator/images/vcss"
+             style="border: 0; width:88px; height:31px;"
+        /></a>
         <a href="http://www.anybrowser.org/campaign/">
         <img alt="[Use any browser here]"
              title="Use any browser here"
              title="PNG used here"
              src="http://www.cs.unibo.it/%7Efguidi/download/PNGnow2.png"
         />
-      <h2/></div>
+      <br/></div>
    </body></html>
 </xsl:template>
 
 <xsl:template match="ENTITY">
-   <xsl:apply-templates/><h2/>
+   <xsl:apply-templates/><br/>
    <div>
       Validation parameters:
       sort hierarchy = "<xsl:value-of select="@hierarchy"/>",