W3C home > Mailing lists > Public > public-html-commits@w3.org > October 2010

html5/markup/tools specgen.xsl,1.90,1.91

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 19 Oct 2010 17:38:11 +0000
To: public-html-commits@w3.org
Message-Id: <E1P8G8Z-0004Yp-Jy@lionel-hutz.w3.org>
Update of /sources/public/html5/markup/tools
In directory hutz:/tmp/cvs-serv16858/tools

Modified Files:
	specgen.xsl 
Log Message:
wd-prep

Index: specgen.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/specgen.xsl,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -d -r1.90 -r1.91
--- specgen.xsl	29 Aug 2010 00:58:13 -0000	1.90
+++ specgen.xsl	19 Oct 2010 17:38:09 -0000	1.91
@@ -356,44 +356,55 @@
         </em>
       </h2>
 
-      <dl>
         <xsl:if test="$site = 'W3C' and not($maturity = 'ED')">
         <xsl:choose>
           <xsl:when test='$source and $maturity="ED"'>
-            <dt>Latest Editor’s Draft:</dt>
+          <dl>
+            <dt>Latest Editor’s Draft is also available:</dt>
             <dd>
               <a id='latestED' href='{$source}'><xsl:value-of select='$source'/></a>
               <xsl:text> </xsl:text>
               <!-- * <xsl:value-of select='date:date-time()'/> -->
             </dd>
+          </dl>
             <xsl:if test='$latest and not($latest = "")'>
+            <dl>
               <dt>Latest Published Version:</dt>
               <dd><a href='{$latest}'><xsl:value-of select='$latest'/></a></dd>
+            </dl>
             </xsl:if>
           </xsl:when>
           <xsl:otherwise>
-            <dt>This Version:</dt>
-            <dd>
-              <a href='{$this}'><xsl:value-of select='$this'/></a>
-            </dd>
             <xsl:if test='not($latest = "")'>
-              <dt>Latest Published Version:</dt>
-              <dd><a href='{$latest}'><xsl:value-of select='$latest'/></a></dd>
-              <dt>Latest Editor’s Draft:</dt>
+            <dl class="ed-draft-link">
+              <dt class="ed-draft-link">Latest Editor’s Draft is also available:</dt>
               <dd>
                 <a id='latestED' href='{$source}'><xsl:value-of select='$source'/></a>
                 <xsl:text> </xsl:text>
                 <!-- * <xsl:value-of select='date:date-time()'/> -->
               </dd>
+            </dl>
+            <dl>
+              <dt>Latest Published Version:</dt>
+              <dd><a href='{$latest}'><xsl:value-of select='$latest'/></a></dd>
+            </dl>
             </xsl:if>
+            <dl>
+            <dt>This Version:</dt>
+            <dd>
+              <a href='{$this}'><xsl:value-of select='$this'/></a>
+            </dd>
+            </dl>
           </xsl:otherwise>
         </xsl:choose>
         <xsl:if test='$previous-nodeset
           and not($previous-nodeset = "")'>
+          <dl>
           <dt>Previous Version<xsl:if test='count($previous-nodeset) > 1'>s</xsl:if>:</dt>
           <xsl:for-each select='$previous-nodeset'>
             <dd><a href='{.}'><xsl:value-of select='.'/></a></dd>
           </xsl:for-each>
+          </dl>
         </xsl:if>
         </xsl:if>
 
@@ -426,7 +437,6 @@
             </xsl:choose>
           </xsl:for-each>
         </xsl:if>
-      </dl>
       <p>The content of this document is also available as
         <xsl:choose>
           <xsl:when test="$chunk=1">
Received on Tuesday, 19 October 2010 17:38:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 October 2010 17:38:49 GMT