title: greasemonkey script that outputs all data corresponding to xpath
body: <p>I would like to write a greasemonkey script that given an xpath returns all of the output of that xpath executed on the current page in a .txt file with one result per row.</p>
  
  <p>How do I do this?</p>
  
  <p>EDIT: Its ok if the output is not written to a file. I just want to have it displayed.</p>