Changeset c940100 for HLFS/patcheslist.xsl
- Timestamp:
- 03/20/2006 09:53:24 PM (18 years ago)
- Branches:
- experimental
- Children:
- 7161bc9
- Parents:
- adfc5b8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
HLFS/patcheslist.xsl
radfc5b8 rc940100 1 1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 <!-- Get list of patch files from the BLFS Book --> 4 <!-- $LastChangedBy$ --> 5 <!-- $Date$ --> 3 <!-- $Id$ --> 4 <!-- Get list of patch files from the HLFS Book --> 6 5 7 6 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 10 9 <xsl:output method="text"/> 11 10 11 <!-- What libc implentation must be used? --> 12 <xsl:param name="model" select="glibc"/> 13 12 14 <!-- No text needed --> 13 15 <xsl:template match="//text()"> … … 15 17 </xsl:template> 16 18 17 <!-- Just grab the url from the ulink tags that have .patch in the name -->19 <!-- Just grab the url from the patches.xml file --> 18 20 <xsl:template match="//ulink"> 19 <xsl:if test="contains(@url, '.patch') or contains(@url, '.patch.gz') and contains(@url, 'linuxfromscratch')"> 21 <xsl:if test="ancestor::varlistentry[@condition=$model] 22 or not(ancestor::varlistentry[@condition])"> 20 23 <xsl:value-of select="@url"/> 21 24 <xsl:text>
</xsl:text>
Note:
See TracChangeset
for help on using the changeset viewer.