title: xpath - using contains with a wildcard
body: <p>I have the following, and trying to see if there's a better approach. I know it cn be done using starts-with/contains. I'm testing with firefox 10, which I believe implements xpath 2.+.</p>
  
  <p>Test node is</p>
  
  <pre><code>&lt;a id="foo"&gt;
  .
  .
  .
  &lt;a id="foo1"&gt;
  .
  &lt;a id="foo2"&gt;
  </code></pre>
  
  <p>Is there a way to use wildcards to be able to get the foo1/foo2 nodes..</p>
  
  <p>Something like </p>
  
  <pre><code>//a[@id =* 'foo'] 
  
  or 
  
  //a[contains(@id*,'foo')] 
  </code></pre>
  
  <p>Which would say, give me the "a" where the id starts with "foo" but has additional chars... This would then skip the 1st node with the "foo"</p>
  
  <p>I thought I had seen an rticle on this, but can't find it!</p>
  
  <p>As I recall, the article stated that xpath had a set of operators that could be used to designate the start/end of a given pattern in a string.</p>
  
  <p>thanks</p>