title: How to use like in XPath?
body: <p>I have a page that searches with filters. I have this code for example,</p>
  
  <pre><code>xmlTempResultSearch = xmlResidentListDisplay.selectNodes("//PeopleList/Row[@LastName != '"+txtSearch.value+"']");
  xmlTempResultSearch.removeAll();
  </code></pre>
  
  <p>This selects the data that is not equal to the LastName inputted on the <code>txtSearch</code> textbox and then removes them from the result set so that its filtered to equal the last name on the <code>txtSearch</code> textbox.</p>
  
  <p>My problem with this code is that it should be equal (=) to the <code>txtSearch</code>.value, what I want is that I want the result set <strong>LIKE</strong> the <code>txtSearch.value</code>. What happens on my page is that when I type '<code>santos</code>' on the txtSearch textbox, its result set is all those last names with '<code>santos</code>'. But when I type '<code>sant</code>', nothing appears. I want the same result set with '<code>santos</code>' because it all contains 'sant'</p>