VirtualBox

Changeset 53939 in vbox for trunk/src/VBox/Main/glue


Ignore:
Timestamp:
Jan 22, 2015 9:01:09 PM (10 years ago)
Author:
vboxsync
Message:

shared uppercase template.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/glue-java.xsl

    r53936 r53939  
    465465
    466466<!--
    467  * translates the string to uppercase
    468 -->
    469 <xsl:template name="uppercase">
    470   <xsl:param name="str" select="."/>
    471   <xsl:value-of select="translate($str, $G_lowerCase, $G_upperCase)"/>
    472 </xsl:template>
    473 
    474 <!--
    475467 * comment for interfaces
    476468-->
     
    479471  <xsl:apply-templates select="." mode="middle"/>
    480472  <xsl:text>&#10;&#10;Interface ID: &lt;tt&gt;{</xsl:text>
    481   <xsl:call-template name="uppercase">
     473  <xsl:call-template name="string-to-upper">
    482474    <xsl:with-param name="str" select="../@uuid"/>
    483475  </xsl:call-template>
     
    566558  <xsl:apply-templates select="." mode="middle"/>
    567559  <xsl:text>&#10;Interface ID: &lt;tt&gt;{</xsl:text>
    568   <xsl:call-template name="uppercase">
     560  <xsl:call-template name="string-to-upper">
    569561    <xsl:with-param name="str" select="../@uuid"/>
    570562  </xsl:call-template>
Note: See TracChangeset for help on using the changeset viewer.

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