title: problem getting xpath function ends-with() to work while contains() works fine
body: <p>i am trying to get the tags that have an attribute that end with a certain id.<br>
  like <code>&lt;span id="ctl00_ContentPlaceHolder1_Country"&gt;</code><br>
  i want to get the spans that have the id ends with 'Country'<br>
  i try the following xpath <code>//span[ends-with(@id,'Country')]</code> but i get the following exception<br>
  "Namespace Manager or XsltContext needed. This query has a prefix, variable, or user-defined function."  </p>
  
  <p>the strange thing is that contains works fine
  so the following xpath works <code>//span[contains(@id,'Country')]</code><br>
  any ideas why this happens?
  thanks</p>