As long as you use the DLS wrapper functions, you should be able to make changes to properties as well as document content.
http://docs.marklogic.com/5.0doc/docapp.xqy#display.xqy?fname=http://pubs/5.0doc/xml/dev_guide/dls.xml%2382404 Once you retrieve a particular version of a document, say using dls:document-version, you should be able to see the properties node by traversing the MarkLogic-specific 'properties' axis. http://docs.marklogic.com/5.0doc/docapp.xqy#display.xqy?fname=http://pubs/5.0doc/xml/xquery/xpath.xml Since you mention XInclude, I guess you are interested in storing modular managed content in properties? I'm not sure if XInclude references will work with the 'properties' axis, but it is worth a try. -- Mike On 1 Jun 2012, at 04:07 , Jem Rayfield wrote: > Hi, > > I am aware of document versions and the ability to update/get document > versions. > > However, I am struggling to understand how document properties are versioned > and indeed if there are any functions which support CRUD operations on > versions of document properties? > > Can anyone shed any light on this? > > I guess you could have versioned properties related to a document using > Xinclude. Using some custom xquery and xml. > > Thanks for any pointers > Jem > > > http://www.bbc.co.uk/ > This e-mail (and any attachments) is confidential and may contain personal > views which are not the views of the BBC unless specifically stated. > If you have received it in error, please delete it from your system. > Do not use, copy or disclose the information in any way nor act in reliance > on it and notify the sender immediately. > Please note that the BBC monitors e-mails sent or received. > Further communication will signify your consent to this. > > _______________________________________________ > General mailing list > [email protected] > http://community.marklogic.com/mailman/listinfo/general > _______________________________________________ General mailing list [email protected] http://community.marklogic.com/mailman/listinfo/general
