Ignore:
Timestamp:
07/25/2007 01:58:03 AM (17 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
Children:
f88b3c5
Parents:
dde6e423
Message:

Merged r8225, r8230, r8231, r8233, r8234, r8235, r8238, r8242 and r8244 from trunk to x86_64 branch.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/x86_64/BOOK@8247 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/dump-commands.xsl

    rdde6e423 r71eb6ac  
    66
    77<!-- XSLT stylesheet to extract commands from [B,H]LFS books. -->
     8
     9  <xsl:variable name="newline">
     10    <xsl:text>&#xA;</xsl:text>
     11  </xsl:variable>
    812
    913  <xsl:template match="/">
     
    4852      <xsl:choose>
    4953        <xsl:when test="@role = 'root'">
    50           <xsl:text>&#xA;</xsl:text>
    5154          <xsl:text># Run this as root</xsl:text>
     55          <xsl:value-of select="$newline"/>
    5256          <xsl:apply-templates select="userinput"/>
    5357          <xsl:text># End root commands</xsl:text>
    54           <xsl:text>&#xA;</xsl:text>
     58          <xsl:value-of select="$newline"/>
    5559        </xsl:when>
    5660        <xsl:otherwise>
     
    5862        </xsl:otherwise>
    5963      </xsl:choose>
     64      <xsl:value-of select="$newline"/>
    6065    </xsl:if>
    6166  </xsl:template>
    6267
    6368  <xsl:template match="userinput">
    64     <xsl:text>&#xA;</xsl:text>
    6569    <xsl:if test=".//replaceable">
    6670      <xsl:text># This block must be edited to suit your needs.</xsl:text>
     71      <xsl:value-of select="$newline"/>
    6772    </xsl:if>
    68     <xsl:text>&#xA;</xsl:text>
    6973    <xsl:apply-templates/>
    70     <xsl:text>&#xA;</xsl:text>
     74    <xsl:value-of select="$newline"/>
    7175    <xsl:if test=".//replaceable">
    7276      <xsl:text># End of editable block.</xsl:text>
     77      <xsl:value-of select="$newline"/>
    7378    </xsl:if>
    74     <xsl:text>&#xA;</xsl:text>
    7579  </xsl:template>
    7680
Note: See TracChangeset for help on using the changeset viewer.