source: HLFS/hlfs-patcheslist_.xsl@ b287536

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

Added HLFS files.

  • Property mode set to 100644
File size: 720 bytes
Line 
1<?xml version='1.0' encoding='ISO-8859-1'?>
2
3<!-- Get list of patch files from the BLFS Book -->
4<!-- $LastChangedBy: bdubbs $ -->
5<!-- $Date$ -->
6
7<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
8 version="1.0">
9
10 <xsl:output method="text"/>
11
12 <!-- No text needed -->
13 <xsl:template match="//text()">
14 <xsl:text/>
15 </xsl:template>
16
17 <!-- Just grab the url from the ulink tags that have .patch in the name -->
18 <xsl:template match="//ulink">
19 <xsl:if test="contains(@url, '.patch') or contains(@url, '.patch.gz') and contains(@url, 'linuxfromscratch')">
20 <xsl:value-of select="@url"/>
21 <xsl:text>&#x0a;</xsl:text>
22 </xsl:if>
23 </xsl:template>
24
25</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.