- Timestamp:
- 03/21/2006 08:20:45 PM (18 years ago)
- Branches:
- experimental
- Children:
- 1917cad
- Parents:
- 9e1915a
- Location:
- CLFS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CLFS/packageslist.xsl
r9e1915a r3d7b0564 1 1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 <!DOCTYPE xsl:stylesheet [3 <!ENTITY % general-entities SYSTEM "clfs-development/general.ent">4 %general-entities;5 ]>6 2 7 <!--$Id 8 XSLT stylesheet to create wget scripts to download packages and patches. 9 Only for Cross-LFS. 10 11 Usage example: 12 13 xsltproc -xinclude -output x86.wget stylesheets/wget.xsl x86-index.xml 14 --> 3 <!--$Id$ --> 4 <!-- Get list of packages from the CLFS Book --> 15 5 16 6 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 25 15 <xsl:template match="ulink"> 26 16 <!-- Packages. If some package don't have the string ".tar." in their 27 name, the next test must be fixed to match it also. --> 28 <xsl:if test="contains(@url, '.tar.')"> 17 name, the next test must be fixed to match it also. Skip possible 18 duplicated URLs due that may be splitted for PDF output --> 19 <xsl:if test="contains(@url, '.tar.') 20 and not(ancestor-or-self::*/@condition = 'pdf')"> 29 21 <xsl:value-of select="@url"/> 30 22 <xsl:text>
</xsl:text> -
CLFS/patcheslist.xsl
r9e1915a r3d7b0564 1 1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 <!DOCTYPE xsl:stylesheet [3 <!ENTITY % general-entities SYSTEM "clfs-development/general.ent">4 %general-entities;5 ]>6 2 7 <!--$Id 8 XSLT stylesheet to create wget scripts to download packages and patches. 9 Only for Cross-LFS. 10 11 Usage example: 12 13 xsltproc -xinclude -output x86.wget stylesheets/wget.xsl x86-index.xml 14 --> 3 <!--$Id$ --> 4 <!-- Get list of patches from the CLFS Book --> 15 5 16 6 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 26 16 <!-- Patches. Match only the patches and skip possible duplicated 27 17 URLs due that may be splitted for PDF output--> 28 <xsl:if test="contains(@url, '.patch') and contains(@url, '&patches-root;')18 <xsl:if test="contains(@url, '.patch') 29 19 and not(ancestor-or-self::*/@condition = 'pdf')"> 30 20 <xsl:value-of select="@url"/>
Note:
See TracChangeset
for help on using the changeset viewer.