VirtualBox

Changeset 56444 in vbox


Ignore:
Timestamp:
Jun 16, 2015 10:57:54 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
101061
Message:

global scope remark.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/docbook-refentry-to-C-help.xsl

    r56368 r56444  
    567567      <xsl:message terminate="yes">Empty @condition for help-scope remark.</xsl:message>
    568568    </xsl:if>
    569     <xsl:text>HELP_SCOPE_</xsl:text><xsl:value-of select="substring-before($sNormalized, ' ')"/>
     569    <xsl:choose>
     570      <xsl:when test="substring-before($sNormalized, ' ') = 'GLOBAL'">
     571        <xsl:text>REFENTRYSTR_SCOPE_GLOBAL</xsl:text>
     572      </xsl:when>
     573      <xsl:otherwise>
     574        <xsl:text>HELP_SCOPE_</xsl:text><xsl:value-of select="substring-before($sNormalized, ' ')"/>
     575      </xsl:otherwise>
     576    </xsl:choose>
    570577    <xsl:call-template name="calc-scope-const-from-remark-worker">
    571578      <xsl:with-param name="sList" select="substring-after($sNormalized, ' ')"/>
     
    576583    <xsl:param name="sList"/>
    577584    <xsl:if test="$sList != ''">
    578       <xsl:text> | HELP_SCOPE_</xsl:text><xsl:value-of select="substring-before($sList, ' ')"/>
     585      <xsl:choose>
     586        <xsl:when test="substring-before($sList, ' ') = 'GLOBAL'">
     587          <xsl:text>| REFENTRYSTR_SCOPE_GLOBAL</xsl:text>
     588        </xsl:when>
     589        <xsl:otherwise>
     590          <xsl:text> | HELP_SCOPE_</xsl:text><xsl:value-of select="substring-before($sList, ' ')"/>
     591        </xsl:otherwise>
     592      </xsl:choose>
    579593      <xsl:call-template name="calc-scope-const-from-remark-worker">
    580594        <xsl:with-param name="sList" select="substring-after($sList, ' ')"/>
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette