source: HLFS/patcheslist.xsl@ a9490ab

experimental
Last change on this file since a9490ab 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
Line 
1<?xml version='1.0' encoding='ISO-8859-1'?>
2
3<!-- $Id$ -->
4<!-- Get list of patch files from the HLFS Book -->
5
6<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
7 version="1.0">
8
9 <xsl:output method="text"/>
10
11 <!-- What libc implentation must be used? -->
12 <xsl:param name="model" select="glibc"/>
13
14 <!-- No text needed -->
15 <xsl:template match="//text()">
16 <xsl:text/>
17 </xsl:template>
18
19 <!-- Just grab the url from the patches.xml file -->
20 <xsl:template match="//ulink">
21 <xsl:if test="ancestor::varlistentry[@condition=$model]
22 or not(ancestor::varlistentry[@condition])">
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.