]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/www/lambdadelta/xslt/ld_web_root.xsl
web site update
[helm.git] / helm / www / lambdadelta / xslt / ld_web_root.xsl
index 56ab24894de4176c27e8a18ea6e3046efd8f7974..d1faf246e920198a5c470110b7edf6168b39d67e 100644 (file)
 </xsl:template>
 
 <xsl:template match="ld:item">
-   <li><xsl:apply-templates/></li>
+   <li class="{@class}"><xsl:apply-templates/></li>
+</xsl:template>
+
+<xsl:template match="ld:line">
+  <div class="{@class}">
+    <xsl:choose>
+      <xsl:when test="@of"><xsl:value-of select="@of"/></xsl:when>
+      <xsl:otherwise><xsl:apply-templates/></xsl:otherwise>
+    </xsl:choose>
+  </div>
 </xsl:template>
 
 <xsl:template match="ld:style">
-   <span class="{@class}">
-      <xsl:choose>
-         <xsl:when test="@of"><xsl:value-of select="@of"/></xsl:when>
-         <xsl:otherwise><xsl:apply-templates/></xsl:otherwise>
-      </xsl:choose>
-   </span>
+  <span class="{@class}">
+    <xsl:choose>
+      <xsl:when test="@title">
+        <xsl:attribute name="title"><xsl:value-of select="@title"/></xsl:attribute>
+      </xsl:when>
+    </xsl:choose>
+    <xsl:choose>
+      <xsl:when test="@of"><xsl:value-of select="@of"/></xsl:when>
+      <xsl:otherwise><xsl:apply-templates/></xsl:otherwise>
+    </xsl:choose>
+  </span>
 </xsl:template>
 
 <xsl:template match="ld:notice">
    </xsl:choose>
 </xsl:template>
 
+<xsl:template match="ld:ucs-bronze">
+   <img
+      alt="[Official bronze sponsor of Unicode Consortium]"
+      title="Official bronze sponsor of Unicode Consortium"
+      src="{$baseurl}images/bronze-{@char}.png"
+   />
+</xsl:template>
+
 <xsl:template match="ld:footer">
    <xsl:call-template name="rule"/>
    <div class="spacer"><br/></div>   
             href="{$baseurl}css/xhtbl.css"
       />
       <link rel="shortcut icon" 
-            href="{$baseurl}images/crux_16.ico"
+            href="{$baseurl}images/crux_32.ico"
       />
    </head><body lang="en-US">
       <div class="spacer"><xsl:call-template name="img"/></div>