title: Execute XQuery with JavaScript
body: <p>I'd like to know how to execute XQuery script using a JavaScript script. 
  For instance a user fills a field, clicks on the submit button, a JS function is called and calls a XQuery script which is going to search informations in a XML database according to the parameter.
  I'd like to call this XQuery script using a webpage : for example by calling <a href="http://localhost.com/myXQueryScript.xq?p=myparameter" rel="nofollow">http://localhost.com/myXQueryScript.xq?p=myparameter</a>. </p>
  
  <p>Thanks in advance! ;)</p>