Changeset 139c34e for common/packages.xsl
- Timestamp:
- 06/03/2007 10:54:07 AM (17 years ago)
- Branches:
- 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 6d48bb7
- Parents:
- 5c575e1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/packages.xsl
r5c575e1 r139c34e 8 8 <xsl:output method="text"/> 9 9 10 <!-- The libc model used for HLFS --> 11 <xsl:param name="model" select="glibc"/> 12 13 <!-- The kernel series used for HLFS --> 14 <xsl:param name="kernel" select="2.6"/> 15 10 16 <xsl:template match="/"> 11 17 <xsl:apply-templates select="//para"/> … … 13 19 14 20 <xsl:template match="para"> 15 <xsl:if test="contains(string(),'Download:')"> 21 <xsl:if test="contains(string(),'Download:') and 22 (ancestor::varlistentry[@condition=$model] 23 or not(ancestor::varlistentry[@condition])) and 24 (ancestor::varlistentry[@vendor=$kernel] 25 or not(ancestor::varlistentry[@vendor]))"> 16 26 <xsl:call-template name="package_name"> 17 27 <xsl:with-param name="url" select="ulink/@url"/>
Note:
See TracChangeset
for help on using the changeset viewer.