source: HLFS/patcheslist.xsl@ 22670f4

experimental
Last change on this file since 22670f4 was 0170229, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Added base files from George's jhalfs-experimental-2 POC.
WARNING: This code is broken due files renaming.

  • 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.