source: HLFS/patcheslist.xsl@ 1d756b0

experimental
Last change on this file since 1d756b0 was c940100, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Download only the packages and patches required by each libc implementation.

  • Property mode set to 100644
File size: 755 bytes
RevLine 
[0170229]1<?xml version='1.0' encoding='ISO-8859-1'?>
2
[c940100]3<!-- $Id$ -->
4<!-- Get list of patch files from the HLFS Book -->
[0170229]5
6<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
7 version="1.0">
8
9 <xsl:output method="text"/>
10
[c940100]11 <!-- What libc implentation must be used? -->
12 <xsl:param name="model" select="glibc"/>
13
[0170229]14 <!-- No text needed -->
15 <xsl:template match="//text()">
16 <xsl:text/>
17 </xsl:template>
18
[c940100]19 <!-- Just grab the url from the patches.xml file -->
[0170229]20 <xsl:template match="//ulink">
[c940100]21 <xsl:if test="ancestor::varlistentry[@condition=$model]
22 or not(ancestor::varlistentry[@condition])">
[0170229]23 <xsl:value-of select="@url"/>
24 <xsl:text>&#x0a;</xsl:text>
25 </xsl:if>
26 </xsl:template>
27
28</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.