aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets/patcheslist.xsl
diff options
context:
space:
mode:
authorlfs-dev <lfs-dev@lists.linuxfromscratch.org>2004-06-22 19:48:30 +0000
committerlfs-dev <lfs-dev@lists.linuxfromscratch.org>2004-06-22 19:48:30 +0000
commit2ec64b313286681a709807dff868a30250f31207 (patch)
tree5f6a8ee6580d60f897891cba0a18a98eea28c6ad /stylesheets/patcheslist.xsl
parent673b0d84ba9591e07c0bdf0ee49d92eba10f502c (diff)
This commit was manufactured by cvs2svn to create tag 'v5_1_1'.v5_1_1
git-svn-id: http://svn.linuxfromscratch.org/LFS/tags/v5_1_1/BOOK@3757 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets/patcheslist.xsl')
-rw-r--r--stylesheets/patcheslist.xsl24
1 files changed, 24 insertions, 0 deletions
diff --git a/stylesheets/patcheslist.xsl b/stylesheets/patcheslist.xsl
new file mode 100644
index 000000000..50456bc10
--- /dev/null
+++ b/stylesheets/patcheslist.xsl
@@ -0,0 +1,24 @@
+<?xml version='1.0' encoding='ISO-8859-1'?>
+
+<!-- Version 0.9pre1 - Manuel Canales Esparcia <macana@lfs-es.org>
+Based on the original patcheslist.xsl posted by Matthew Burgess -->
+
+<!-- This also work again BLFS -->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+
+ <xsl:output method="text"/>
+
+ <xsl:template match="//text()">
+ <xsl:text/>
+ </xsl:template>
+
+ <xsl:template match="//ulink">
+ <xsl:if test="contains(@url, '.patch')">
+ <xsl:value-of select="@url"/>
+ <xsl:text>&#x0a;</xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+</xsl:stylesheet>