VirtualBox

Changeset 53938 in vbox for trunk/src/VBox/Main/idl


Ignore:
Timestamp:
Jan 22, 2015 8:58:37 PM (10 years ago)
Author:
vboxsync
Message:

capiidl.xsl: Must use xsl:key+key() to access interface[@name=?]. Moved uppercase/lowercase code to shared style sheet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/typemap-shared.inc.xsl

    r53934 r53938  
    386386</xsl:template>
    387387
     388
     389<!--
     390    string-to-upper - translates the string to uppercase.
     391    -->
     392<xsl:template name="string-to-upper">
     393  <xsl:param name="str" select="."/>
     394  <xsl:value-of select="translate($str, $G_lowerCase, $G_upperCase)"/>
     395</xsl:template>
     396
     397<!--
     398    string-to-lower - translates the string to lowercase.
     399    -->
     400<xsl:template name="string-to-lower">
     401  <xsl:param name="str" select="."/>
     402  <xsl:value-of select="translate($str, $G_upperCase, $G_lowerCase)"/>
     403</xsl:template>
     404
    388405<!--
    389406    string-replace - Replace all occurencees of needle in haystack.
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