fix book links with spaces.
authorStefanus Du Toit <sjdutoit@csclub.uwaterloo.ca>
Tue, 23 Apr 2002 03:29:34 +0000 (03:29 +0000)
committerStefanus Du Toit <sjdutoit@csclub.uwaterloo.ca>
Tue, 23 Apr 2002 03:29:34 +0000 (03:29 +0000)
cscweb.xsl

index 2424111..e6bfde0 100755 (executable)
        <xsl:if test="position() mod 2 = 0">
          <xsl:attribute name="bgcolor">#cee6ff</xsl:attribute>
        </xsl:if>
-       <td><a href="/office/books/{@isbn}.html"><xsl:value-of
+       <td><a href="/office/books/{translate(@isbn, ' ', '-')}.html"><xsl:value-of
        select="@title"/><xsl:if test="@edition != ''"> (<xsl:value-of
        select="@edition"/>)</xsl:if></a></td>
        <td><xsl:value-of select="@author"/></td>