title: Nodes with case-insensitive content using XOM
body: <p>I want to query nodes from a XOM document which contains certain value but case insensitive. Something like this:</p>
  
  <pre><code>doc.query('/root/book[contains(.,"case-insentive-string")]')
  </code></pre>
  
  <p>But it <em>contains</em> is case sensitive. </p>
  
  <ol>
  <li>I tried to use regexes, but it is
  only XPATH2.0 and XOM does not seem
  to support it. </li>
  <li>I tried
  <code>contains(translate(."ABCEDF...","abcdef..."),"case-insentive-string")]'</code>
  failed too.</li>
  <li>I tried to match
  subnodes and read parent attributes
  using getParent, but there is no
  method to read parents attributes.</li>
  </ol>
  
  <p>Any suggestions ?</p>