title: What is an optimal solution to store many versioned XML documents?
body: <p>I need to store many XML documents identified by a unique name, and keep track of their versions. I need to have an access to every document (read, update, delete) through some RESTful API. I need to maintain access control (read/write permissions) for every document (or groups of them).</p>
  
  <p>Is there any solution on the market for these needs?</p>
  
  <p>Btw, other supplementary features would be welcome, like XSD-validation of every new incoming change.</p>