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

html5/markup/tools generate-spec-source.xsl,1.282,1.283

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Sat, 31 Jul 2010 14:48:55 +0000
To: public-html-commits@w3.org
Message-Id: <E1OfDMt-0006eA-57@lionel-hutz.w3.org>
Update of /sources/public/html5/markup/tools
In directory hutz:/tmp/cvs-serv25087/tools

Modified Files:
	generate-spec-source.xsl 
Log Message:
build tweak

Index: generate-spec-source.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/generate-spec-source.xsl,v
retrieving revision 1.282
retrieving revision 1.283
diff -u -d -r1.282 -r1.283
--- generate-spec-source.xsl	31 Jul 2010 14:18:18 -0000	1.282
+++ generate-spec-source.xsl	31 Jul 2010 14:48:53 -0000	1.283
@@ -1859,6 +1859,9 @@
                 </xsl:when>
                 <xsl:when test="self::a">
                   <xsl:choose>
+                    <xsl:when test="starts-with(@href,'http://')">
+                      <a href="{@href}" title="{@title}"><xsl:value-of select="."/></a>
+                    </xsl:when>
                     <xsl:when test="starts-with(@href,'#')">
                       <xsl:variable name="filename">
                         <xsl:call-template name="get-spec-filename">
@@ -1870,7 +1873,7 @@
                       <a href="{$filename}{@href}" title="{@title}"><xsl:value-of select="."/></a>
                     </xsl:when>
                     <xsl:otherwise>
-                      <a href="{@href}" title="{@title}"><xsl:value-of select="."/></a>
+                      <a href="{$spec-url}{@href}" title="{@title}"><xsl:value-of select="."/></a>
                     </xsl:otherwise>
                   </xsl:choose>
                 </xsl:when>
Received on Saturday, 31 July 2010 14:48:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 31 July 2010 14:48:56 GMT