title: Using OR in XSLT
body: <p>I am having issues using the or operator in XSLT. I need to test if a variable does not equal 00 or 09.</p>
  
  <p>The current value being entered into the XSLT for Timecodehour is 09. I am using the test below to confirm that the value must be 00 or 09.</p>
  
  <pre><code>&lt;xsl:template match="/"&gt;
  
  &lt;xsl:if test="$TimecodeHour!='00' or $TimecodeHour!='09'"&gt;
      &lt;xsl:message terminate="yes"&gt;Timecode is not supported&lt;/xsl:message&gt;
  &lt;/xsl:if&gt;
  &lt;/xsl:template&gt;
  </code></pre>
  
  <p>The test completes correctly if I removed "$TimecodeHour!='00' or" but submitted message Timecode is not supported when I add it back in again. Could someone please help me understand what I am doing wrong?</p>