xsl last character of a string code example Example: xsl last character of a string <xsl:value-of select="substring(., string-length(.), 1)" />