title: Substring after last character in xslt
body: <p>I can't find the exact answer for this question so I hope someone will help me here. </p>
  
  <p>I have a string and I want get the substring after the last '.'. I'm using xslt 1.0. </p>
  
  <p>How is this done? This is my code.</p>
  
  <pre><code>&lt;xsl:choose&gt;
      &lt;xsl:otherwise&gt; 
          &lt;xsl:attribute name="class"&gt;method txt-align-left case-names&lt;/xsl:attribute&gt;&amp;#160;
          &lt;xsl:value-of select="./@name"/&gt; // this prints a string eg: 'something1.something2.something3'
      &lt;/xsl:otherwise&gt;
  &lt;/xsl:choose&gt;
  </code></pre>
  
  <p>When i paste the suggested code I get an error message. "Parsing an XSLT stylesheet failed."</p>