Load XML content in javascript application
<p>I develop a javascript application which display data from xml with charts and lists.
For now I put some sample files onto the server's directory that I load with :</p>

<pre><code>$.ajax({ type: 'GET', url: 'data/default.xml', dataType: 'xml', ...})
</code></pre>

<p>The Xml files can be very heavy so when one of them is loaded I put the data in an IndexedDB.</p>

<p>In a second time I would like to let the visitor loads its own xml file by giving the filepath of the xml (f.i. : /home/user/sample.xml). I do not want to upload this file onto the server because I do not need it and it could be too big. But I do want to load those data in the IndexedDB and let the app displays data without any call to the server.</p>

<p>I do not know if browsers could work this way?
If they could, how can I do such a trick?</p>
