source: HLFS/patcheslist.xsl@ 0ad851d

1.0 2.3 2.3.x 2.4 ablfs ablfs-more legacy new_features trunk
Last change on this file since 0ad851d was 877cc6a, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Merged experimental branch to trunk.
Updated TODO.

  • Property mode set to 100644
File size: 886 bytes
Line 
1<?xml version='1.0' encoding='ISO-8859-1'?>
2
3<!-- $Id$ -->
4<!-- Get list of patches 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. Skip possible
20 duplicated URLs due that may be splitted for PDF output -->
21 <xsl:template match="//ulink">
22 <xsl:if test="(ancestor::varlistentry[@condition=$model]
23 or not(ancestor::varlistentry[@condition]))
24 and not(ancestor-or-self::*/@condition = 'pdf')">
25 <xsl:value-of select="@url"/>
26 <xsl:text>&#x0a;</xsl:text>
27 </xsl:if>
28 </xsl:template>
29
30</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.