title: XSLT contains() not working
body: <p>I am trying to use contains() where i want to display the node value only when it does not contain number but I get all the node values in result. Below is my code and sample XML. My code is as below: Please let me know where I am doing wrong.  </p>
  
  <p>my code:</p>
  
  <pre><code>     &lt;xsl:variable name="restricted_characters" select="1234567890"/&gt;
          &lt;xsl:for-each select="test/a"&gt;
          &lt;xsl:if test="not(contains(. , $restricted_characters))"&gt;
           &lt;xsl:value-of select="position()" /&gt;:
           &lt;xsl:value-of select="." /&gt;
          &lt;/xsl:if&gt;
          &lt;/xsl:for-each&gt;
  </code></pre>
  
  <p>XML:</p>
  
  <pre><code>    &lt;test&gt;
      &lt;a&gt;abc11&lt;/a&gt;
      &lt;a&gt;123&lt;/a&gt;
      &lt;a&gt;abc&lt;/a&gt;
      &lt;a&gt;abc2&lt;/a&gt;
      &lt;a&gt;abc3&lt;/a&gt;
      &lt;a&gt;abc&lt;/a&gt;
      &lt;/test&gt;  
  </code></pre>