title: How to use Xquery without xml-database
body: <p>I am experimenting with Xquery and have used sedna and basex as xml-databases.
  All the examples I have found on internet depend on a database so all the connections need a username/password. What I need however is to use Xquery in combination with just a XML-file (and no database).</p>
  
  <p>What is the best way to create a connection to a file and execute a query?</p>