[MarkLogic Dev General] Document properties and versions
mike at blakeley.com
Fri Jun 1 11:37:56 PDT 2012
As long as you use the DLS wrapper functions, you should be able to make changes to properties as well as document content.
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.
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.
On 1 Jun 2012, at 04:07 , Jem Rayfield wrote:
> I am aware of document versions and the ability to update/get document
> 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
> 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
> General at developer.marklogic.com
More information about the General