Ignore:
Timestamp:
12/10/2013 11:37:38 PM (11 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
112db9d
Parents:
f2a5108
Message:

Import new branch

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

Location:
stylesheets/lfs-xsl/docbook-xsl-1.78.1/profiling
Files:
4 moved

Legend:

Unmodified
Added
Removed
  • stylesheets/lfs-xsl/docbook-xsl-1.78.1/profiling/profile-mode.xsl

    rf2a5108 rb1a51ac1  
    201201                $attribute.ok">
    202202    <xsl:copy>
    203       <xsl:copy-of select="@*"/>
     203      <xsl:apply-templates mode="profile" select="@*"/>
    204204
    205205      <!-- Entity references must be replaced with filereferences for temporary tree -->
     
    227227  <xsl:variable name="head" select="substring-before(concat($a, $sep), $sep)"/>
    228228  <xsl:variable name="tail" select="substring-after($a, $sep)"/>
    229   <xsl:if test="contains(concat($sep, $b, $sep), concat($sep, $head, $sep))">1</xsl:if>
     229<!-- <xsl:message> -->
     230<!-- a="<xsl:value-of select="$a"/>" -->
     231<!-- a="<xsl:value-of select="normalize-space($a)"/>" -->
     232<!-- head="<xsl:value-of select="$head"/>" -->
     233<!-- tail="<xsl:value-of select="$tail"/>" -->
     234<!-- </xsl:message> -->
     235  <xsl:if test="contains(concat($sep, $b, $sep), concat($sep, $head, $sep)) or normalize-space($a) = '' ">1</xsl:if>
    230236  <xsl:if test="$tail">
    231237    <xsl:call-template name="cross.compare">
  • stylesheets/lfs-xsl/docbook-xsl-1.78.1/profiling/profile.xsl

    rf2a5108 rb1a51ac1  
    4141<xsl:param name="profile.separator" select="';'"/>
    4242
     43<xsl:param name="exsl.node.set.available">
     44  <xsl:choose>
     45    <xsl:when xmlns:exsl="http://exslt.org/common" exsl:foo="" test="function-available('exsl:node-set') or contains(system-property('xsl:vendor'), 'Apache Software Foundation')">1</xsl:when>
     46    <xsl:otherwise>0</xsl:otherwise>
     47  </xsl:choose>
     48</xsl:param>
     49
    4350<!-- Call common profiling mode -->
    4451<xsl:template match="/">
  • stylesheets/lfs-xsl/docbook-xsl-1.78.1/profiling/xsl2profile.xsl

    rf2a5108 rb1a51ac1  
    8282</xsl:template>
    8383
    84 <xsl:template match="xsl:template[@name='hhc-main' or @name='hhp-main' or @name='etoc'] | xsl:variable[@name='raw.help.title']">
     84<xsl:template match="xsl:template[@name='hhc-main' or @name='hhp-main' or @name='hhk' or @name='hh-map' or @name='hh-alias' or @name='etoc'] | xsl:variable[@name='raw.help.title']">
    8585  <xsl:copy>
    8686    <xsl:copy-of select="@*"/>
     
    117117              <xsl:with-param name="string" select="."/>
    118118              <xsl:with-param name="target">key('id',$rootid)</xsl:with-param>
    119               <xsl:with-param name="replacement">$profiled-nodes//*[@id=$rootid]</xsl:with-param>
     119              <xsl:with-param name="replacement">$profiled-nodes//*[@id=$rootid or @xml:id=$rootid]</xsl:with-param>
    120120            </xsl:call-template>
    121121          </xsl:attribute>
Note: See TracChangeset for help on using the changeset viewer.