Zum Hauptinhalt springen

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

NameTypeDescriptionDefined By
varvarResult variable name toupper
typetypeCapitilization type toupper

Results

BindingTypePredicate
varstringN/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 -->