left up right
Example: translate
<items>
 <title>Gone   with     the    Wind</title>
</items>

<xsl:template match="items">
<nospaces><xsl:value-of select="translate(title,' ','')"/></nospaces>
 
<lowercasenospaces><xsl:value-of select="
translate(title,'ABCDEFGHIJKLMNOPQRSTUVWXYZ '
               ,'abcdefghijklmnopqrstuvwxyz')
</lowercasenospaces>

<upperonly><xsl:value-of select="
  translate(title, translate(title,'ABCDEFGHIJKLMNOPQRSTUVWXYZ',''),'')"/>
</upperonly>     

<nospaces>GonewiththeWind</nospaces>
<lowercasenospaces>gonewiththewind</lowercasenospaces>
<upperonly>GW</upperonly>   lower-case characters converted to null
         

Inner translate removes capital leaving "one with the ind" to be removed by the outer translate

If character appears more than once in from set, first is used in the translate