Changeset 7882
- Timestamp:
- 12/04/06 09:53:22 (2 years ago)
- Files:
-
- trunk/BOOK/stylesheets/wget-list.xsl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/BOOK/stylesheets/wget-list.xsl
r7881 r7882 2 2 3 3 <!-- Create a list of upstream URLs for packages and patches to be used 4 with wget. 5 NOTE: there are several sourceforge URLs that don't work with wget. --> 4 with wget. --> 6 5 7 6 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 21 20 or contains(@url, '.patch')) and 22 21 not(ancestor-or-self::*/@condition = 'pdf')"> 23 <xsl:value-of select="@url"/> 22 <xsl:choose> 23 <xsl:when test="contains(@url,'?download')"> 24 <xsl:value-of select="substring-before(@url,'?download')"/> 25 </xsl:when> 26 <xsl:otherwise> 27 <xsl:value-of select="@url"/> 28 </xsl:otherwise> 29 </xsl:choose> 24 30 <xsl:text>
</xsl:text> 25 31 </xsl:if>
