title: Using small XML as database - best way to query
body: <p>I'm working on a small hobby project for personal use, which requires a way to store some values. The three ways of doing this that I could come up with were using: a <strong>MySQL</strong> db, a <strong>XML</strong> file or HTML5's <strong>LocalStorage</strong> (please post a comment if there are other convenient ways you can think of).</p>
  
  <p>Now since I might want to access the same values from another browser, for instance a mobile device, <strong>LocalStorage</strong> is clearly not the way to do it. Now when it comes to <strong>XML</strong>, I know it is only meant as a mean of transporting data, while data storage should be done in <strong>MySQL</strong>. However, since this is a small project which only would require a XML file of no more than a couple kilobytes, it feels like using XML would be more convenient in this case than setting up a MySQL db. Am I right?</p>
  
  <p>Assuming I want to use XML, how do I append some nodes using <strong>a)</strong> PHP and <strong>b)</strong> JQuery or otherwise? Which one do you think is the most convenient way to do it?</p>
  
  <p>I found that there are few well-written examples out there of how to do this (especially with JQuery I wasn't able to find an example of how to append an XML file in a straightforward way), so it would be awesome if you could attach some sample code for comparison, thank you!</p>