To upper case
XML
<toupper var="var" type="chars">
string
</toupper>
<toupper /> returns the upper case representation of a value by capitalizing the first character, all words or all characters.
Attributes
Results
| Binding | Type | Predicate |
|---|---|---|
| var | string | N/A |
Examples
Capitalize first character
XML
<output>
<toupper type="first">bill gates</toupper>
</output>
<!-- Bill gates -->
Capitalize all words
XML
<output>
<toupper type="words">bill gates</toupper>
</output>
<!-- Bill Gates -->
Capitalize all characters
XML
<output>
<toupper>iXML</toupper>
</output>
<!-- IXML -->