Changeset 3d7b0564 for CLFS


Ignore:
Timestamp:
03/21/2006 08:20:45 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
1917cad
Parents:
9e1915a
Message:

XSL clean-up.

Location:
CLFS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CLFS/packageslist.xsl

    r9e1915a r3d7b0564  
    11<?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 ]>
    62
    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 -->
    155
    166<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     
    2515  <xsl:template match="ulink">
    2616      <!-- 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')">
    2921      <xsl:value-of select="@url"/>
    3022      <xsl:text>&#x0a;</xsl:text>
  • CLFS/patcheslist.xsl

    r9e1915a r3d7b0564  
    11<?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 ]>
    62
    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 -->
    155
    166<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     
    2616      <!-- Patches. Match only the patches and skip possible duplicated
    2717      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')
    2919            and not(ancestor-or-self::*/@condition = 'pdf')">
    3020      <xsl:value-of select="@url"/>
Note: See TracChangeset for help on using the changeset viewer.