title: Create and update documents while maintaining version history using OpenCMIS
body: <p>Can someone post the OpenCMIS code necessary to create a new document and then update that document by updating its content stream? I don't want to lose the original document--I want to maintain the version history as new documents are updated. I am using Alfresco but this should be applicable to any CMIS repository.</p>