VirtualBox

Changeset 77882 in vbox for trunk/doc/manual


Ignore:
Timestamp:
Mar 26, 2019 3:04:35 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
129584
Message:

docbook-refentry-to-C-help.xsl: Hacks for getting man_VBoxManage-clonevm.xml work (no sub-commands).

File:
1 edited

Legend:

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

    r77361 r77882  
    3838  </xsl:variable>
    3939
     40  <!-- Sub-command style command (true) or single command (false). -->
     41  <xsl:variable name="g_fSubCommands" select="not(not(//refsect2[@id]))" />
    4042
    4143  <!-- Default action, do nothing. -->
     
    8890        <xsl:message terminate="yes"><xsl:call-template name="error-prefix"/>The refsynopsisdiv/cmdsynopsis elements @id is expected to include the refentry @id.</xsl:message>
    8991      </xsl:if>
    90       <xsl:if test="not(../../refsect1/refsect2[@id=./@id])">
     92      <xsl:if test="not(../../refsect1/refsect2[@id=./@id]) and $g_fSubCommands">
    9193        <xsl:message terminate="yes"><xsl:call-template name="error-prefix"/>No refsect2 with id="<xsl:value-of select="@id"/>" found.</xsl:message>
    9294      </xsl:if>
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