title: How to filter with XPath on all elements without a specific attribute
body: <p>My XPath is a little bit rusty... Let's say I have this simple XML file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;States xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
  &lt;States&gt;
  &lt;StateProvince name="ALABAMA" abbrev="AL" /&gt;
  ....
  &lt;StateProvince name="AMERICAN SAMOA" abbrev="AS" territory="true"  /&gt;
  &lt;/States&gt;
  &lt;/States&gt;
  </code></pre>
  
  <p>I would like to run a simple XPath query to parse out all of the true states (so don't pull in states where territory = true).  I tried \StateProvince[@territory!='true'] but I got zero.  Other variations seem to be failing.  This seems like it should be simple, but not finding what I want.</p>
  
  <p>Any help appreciated.</p>