Changeset 654f592 for BLFS/xsl/lfs_make_book.xsl
- Timestamp:
- 09/25/2019 03:29:17 PM (5 years ago)
- Branches:
- ablfs-more, legacy, trunk
- Children:
- 4ad6e44
- Parents:
- a1795f0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/xsl/lfs_make_book.xsl
ra1795f0 r654f592 18 18 $package='Python' or 19 19 $package='shadow'"/> 20 <xsl:when test="$package='bootscripts'">true</xsl:when> 20 21 <xsl:when test="$package='kernel'">true</xsl:when> 21 22 <xsl:when test="$package='LFS-Release'">true</xsl:when> … … 38 39 $package='Python' or 39 40 $package='shadow'"/> 41 <xsl:when test="$package='bootscripts'"> 42 <xsl:for-each select="document($lfsbook)"> 43 <xsl:apply-templates select="key('idlfs',$package)[ancestor::chapter/@id='chapter-bootscripts']" mode="lfs"/> 44 </xsl:for-each> 45 </xsl:when> 40 46 <xsl:when test="$package='kernel'"> 41 47 <xsl:for-each select="document($lfsbook)"> … … 67 73 <xsl:element name="sect1"> 68 74 <xsl:attribute name="id"> 69 <xsl:value-of select="./sect1info/productname"/> 75 <xsl:choose> 76 <xsl:when 77 test="./sect1info/productname= 78 'bootscripts'">lfs-bootscripts</xsl:when> 79 <xsl:otherwise> 80 <xsl:value-of select="./sect1info/productname"/> 81 </xsl:otherwise> 82 </xsl:choose> 70 83 </xsl:attribute> 71 84 <xsl:apply-templates mode="lfs"/>
Note:
See TracChangeset
for help on using the changeset viewer.