Changeset 56532 in vbox for trunk/doc/manual/xidl2docbook.xsl
- Timestamp:
- Jun 18, 2015 5:44:54 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/xidl2docbook.xsl
r46213 r56532 6 6 VirtualBox.xidl. 7 7 8 Copyright (C) 2006-201 2Oracle Corporation8 Copyright (C) 2006-2015 Oracle Corporation 9 9 10 10 This file is part of VirtualBox Open Source Edition (OSE), as … … 54 54 <xsl:choose> 55 55 <xsl:when test="//interface[@name=$type]"> 56 <xref> 57 <xsl:attribute name="apiref">yes</xsl:attribute> 56 <link> 58 57 <xsl:attribute name="linkend"> 59 58 <xsl:value-of select="translate($type, ':', '_')" /> 60 59 </xsl:attribute> 61 60 <xsl:value-of select="$type" /> 62 </ xref>61 </link> 63 62 </xsl:when> 64 63 <xsl:when test="//enum[@name=$type]"> 65 <xref> 66 <xsl:attribute name="apiref">yes</xsl:attribute> 64 <link> 67 65 <xsl:attribute name="linkend"> 68 66 <xsl:value-of select="translate($type, ':', '_')" /> 69 67 </xsl:attribute> 70 68 <xsl:value-of select="$type" /> 71 </ xref>69 </link> 72 70 </xsl:when> 73 71 <xsl:otherwise> … … 122 120 <xsl:choose> 123 121 <xsl:when test="$wsmap='suppress'"> 124 < note>122 <para><note><para> 125 123 This interface is not supported in the web service. 126 </ note>124 </para></note></para> 127 125 </xsl:when> 128 126 <xsl:when test="$wsmap='struct'"> 129 < note>With the web service, this interface is mapped to a structure. Attributes that return this interface will not return an object, but a complete structure130 containing the attributes listed below as structure members.</ note>127 <para><note><para>With the web service, this interface is mapped to a structure. Attributes that return this interface will not return an object, but a complete structure 128 containing the attributes listed below as structure members.</para></note></para> 131 129 </xsl:when> 132 130 <xsl:when test="$wsonly='yes'"> 133 < note>This interface is supported in the web service only, not in COM/XPCOM.</note>131 <para><note><para>This interface is supported in the web service only, not in COM/XPCOM.</para></note></para> 134 132 </xsl:when> 135 133 </xsl:choose> 136 134 137 135 <xsl:if test="$reportExtends"> 138 < note>136 <para><note><para> 139 137 This interface extends 140 <xref> 141 <xsl:attribute name="apiref">yes</xsl:attribute> 138 <link> 142 139 <xsl:attribute name="linkend"><xsl:value-of select="$extends" /></xsl:attribute> 143 140 <xsl:value-of select="$extends" /> 144 </ xref>141 </link> 145 142 and therefore supports all its methods and attributes as well. 146 </ note>143 </para></note></para> 147 144 </xsl:if> 148 145 … … 181 178 </programlisting> 182 179 <xsl:if test="( ($attrtype=($G_setSuppressedInterfaces/@name)) )"> 183 < note>180 <para><note><para> 184 181 This attribute is not supported in the web service. 185 </ note>182 </para></note></para> 186 183 </xsl:if> 187 184 <xsl:apply-templates select="desc" /> … … 209 206 <xsl:if test=" (param[@type=($G_setSuppressedInterfaces/@name)]) 210 207 or (param[@mod='ptr'])" > 211 < note>208 <para><note><para> 212 209 This method is not supported in the web service. 213 </ note>210 </para></note></para> 214 211 </xsl:if> 215 212 <!-- make a set of all parameters with in and out direction --> … … 256 253 </glossterm> 257 254 <glossdef> 258 <para> 259 <xsl:apply-templates select="desc" /> 260 </para> 255 <xsl:if test="not(desc)"> 256 <para/> 257 </xsl:if> 258 <xsl:apply-templates select="desc" /> 261 259 </glossdef> 262 260 </glossentry> … … 320 318 </glossterm> 321 319 <glossdef> 320 <xsl:if test="not(desc)"> 321 <para/> 322 </xsl:if> 322 323 <xsl:apply-templates select="desc" /> 323 324 </glossdef> … … 398 399 399 400 <xsl:template match="desc"> 401 <!-- todo: wrapping the entire content in a single para is actually not 402 entirely correct, as it contains empty lines denoting new paragraphs --> 403 <para> 400 404 <xsl:apply-templates /> 405 </para> 401 406 </xsl:template> 402 407 … … 411 416 <!-- <link to="DeviceType::HardDisk"/> --> 412 417 <xsl:template match="link"> 413 <xref> 414 <xsl:attribute name="apiref">yes</xsl:attribute> 418 <link> 415 419 <xsl:variable name="tmp" select="@to" /> 416 420 <xsl:variable name="enumNameFromCombinedName"> … … 493 497 </xsl:otherwise> 494 498 </xsl:choose> 495 </ xref>499 </link> 496 500 </xsl:template> 497 501 … … 502 506 <xsl:template match="note"> 503 507 <xsl:if test="not(@internal='yes')"> 504 <note> 508 <note><para> 505 509 <xsl:apply-templates /> 506 </ note>510 </para></note> 507 511 </xsl:if> 508 512 </xsl:template> … … 545 549 <xsl:template match="li"> 546 550 <listitem> 547 <xsl:apply-templates /> 551 <para> 552 <xsl:apply-templates /> 553 </para> 548 554 </listitem> 549 555 </xsl:template>
Note:
See TracChangeset
for help on using the changeset viewer.