source: HLFS/patcheslist.xsl@ 389fe2a

experimental
Last change on this file since 389fe2a was ce74b98, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Fixed the svn:keywords properties, I hope.

  • Property mode set to 100644
File size: 711 bytes
Line 
1<?xml version='1.0' encoding='ISO-8859-1'?>
2
3<!-- Get list of patch files from the BLFS Book -->
4<!-- $LastChangedBy$ -->
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.