title: XQuery looking for text with 'single' quote
body: <p>I can't figure out how to search for text containing single quotes using XPATHs.</p>
  
  <p>For example, I've added a quote to the title of this question. The following line</p>
  
  <pre><code>$x("//*[text()='XQuery looking for text with &amp;#39;single&amp;#39; quote']")
  </code></pre>
  
  <p>Returns an empty array.</p>
  
  <p>However, if I try the following</p>
  
  <pre><code>$x("//*[text()=\"XQuery looking for text with 'single' quote\"]")
  </code></pre>
  
  <p>It does return the link for the title of the page, but I would like to be able to accept both single and double quotes in there, so I can't just tailor it for the single/double quote.</p>
  
  <p>You can try it in chrome's or firebug's console on this page.</p>