title: XSL Comparing the Value of Select to a String Value
body: <p>I'm new to XSL so bear with me, but how would I compare this value in this xsl to a string value?</p>
  
  <pre><code>&lt;td style="text-align:center; width:5%;"&gt;
  &lt;xsl:value-of select="querydata[position()=19]/text"/&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>I basically want to say:</p>
  
  <pre><code>if querydata[position()=19]/text = 'book' then
    'the value is book'
  else
    'the value is NOT book'
  end-if
  </code></pre>