title: Document database to store html content
body: <p>I have been working on a project where user can create simple templates and develop his website pages.He can save them and also put it over the internet once completed.Now my problem</p>
  
  <ol>
  <li>When the user is working on his template he can save his copy of work done and come back to it later(Similar to drafting an email).</li>
  <li>This saved work by the user is saved in <strong>xml</strong> files currently by parsing the template pages.</li>
  <li>I was thinking of an alternative over this to store the entire page itself in a document database against a unique user id,so that there is no need of any parsing to be done and reduce the load and time.</li>
  </ol>
  
  <p><strong>Now my questions</strong></p>
  
  <ol>
  <li>Is what I am thinking possible using a <strong>Document Database</strong>  or nosql instead of xml?</li>
  <li>If yes which one would be more <strong>flexible</strong> to work on and easy to maintain?</li>
  <li>I am using php and mysql for other operations,so I need the doc DB just to store the html of the templates created by the user.</li>
  </ol>