Author: pierre
Date: Mon Dec 9 08:09:45 2019
New Revision: 22454
Log:
Change wget-list so that http addresses are used rather than ftp ones
Modified:
trunk/BOOK/stylesheets/wget-list.xsl
Modified: trunk/BOOK/stylesheets/wget-list.xsl
==============================================================================
--- trunk/BOOK/stylesheets/wget-list.xsl Mon Dec 9 01:32:49 2019
(r22453)
+++ trunk/BOOK/stylesheets/wget-list.xsl Mon Dec 9 08:09:45 2019
(r22454)
@@ -37,11 +37,11 @@
<xsl:when test="contains(listitem[1]/para,'(HTTP)')
and contains(listitem[2]/para,'(FTP)')">
<xsl:choose>
- <xsl:when test="string-length(listitem[2]/para/ulink/@url) >
'10'">
- <xsl:apply-templates select="listitem[2]/para/ulink"/>
+ <xsl:when test="string-length(listitem[1]/para/ulink/@url) >
'10'">
+ <xsl:apply-templates select="listitem[1]/para/ulink"/>
</xsl:when>
<xsl:otherwise>
- <xsl:apply-templates select="listitem[1]/para/ulink"/>
+ <xsl:apply-templates select="listitem[2]/para/ulink"/>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page