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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • HLFS/patcheslist.xsl

    r9e1915a r3d7b0564  
    22
    33<!-- $Id$ -->
    4 <!-- Get list of patch files from the HLFS Book -->
     4<!-- Get list of patches from the HLFS Book -->
    55
    66<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     
    1717  </xsl:template>
    1818
    19   <!-- Just grab the url from the patches.xml file -->
     19  <!-- Just grab the url from the patches.xml file. Skip possible
     20  duplicated URLs due that may be splitted for PDF output -->
    2021  <xsl:template match="//ulink">
    21     <xsl:if test="ancestor::varlistentry[@condition=$model]
    22             or not(ancestor::varlistentry[@condition])">
     22    <xsl:if test="(ancestor::varlistentry[@condition=$model]
     23            or not(ancestor::varlistentry[@condition]))
     24            and not(ancestor-or-self::*/@condition = 'pdf')">
    2325       <xsl:value-of select="@url"/>
    2426       <xsl:text>&#x0a;</xsl:text>
Note: See TracChangeset for help on using the changeset viewer.