title: How to refer to current node value in XSL for-each test?
body: <p>Let's say I have an XML doc like this:</p>
  
  <pre><code>&lt;books&gt;
      &lt;book&gt;1110&lt;/book&gt;
      &lt;book&gt;1111&lt;/book&gt;
      &lt;book&gt;1112&lt;/book&gt;
      &lt;book&gt;1113&lt;/book&gt;
  &lt;/books&gt;
  </code></pre>
  
  <p>I'm trying to setup a condition that tests the value of the current node in the <code>for-each</code>, but I'm doing something wrong:</p>
  
  <pre><code>&lt;xsl:for-each select="/books/book"&gt;
      &lt;xsl:if test=".[='1112']"&gt;
          Success
      &lt;/xsl:if&gt;
  &lt;/xsl:for-each&gt;
  </code></pre>
  
  <p>What am I doing incorrectly?</p>