title: Changing a logic in xsl 1.0
body: <p>I have a text string - "Parkering mva fri 30 stk 01.04.14 - 30.06.14", I want to get the date from the string separately.</p>
  
  <p>What I did is :</p>
  
  <pre><code>    &lt;xsl:variable name="Letters"&gt;              
   &lt;xsl:text&gt;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz&lt;/xsl:text&gt;
      &lt;/xsl:variable&gt;
  &lt;xsl:variable name="S_Date"&gt;
   &lt;xsl:value-of select="translate(STRING_VALUE,$Letters,'')"/&gt;
  &lt;/xsl:variable&gt;
   &lt;xsl:value-of select="normalize-space(substring-before($S_Date,'-'))"/&gt;
  </code></pre>
  
  <p>This is generating output as - "30 01.04.14", I donot want 30 in this. What I should do to remove it.</p>