Re: [bdbxml] How update metadata with XmlModify

Marcin Kuthan <mkuthan-tQDQIiJ/[email protected]> Wed, 24 Aug 2005 08:19:04 +0200
Newsgroups gmane.comp.db.dbxml.general
Message-ID <[email protected]>
Hi George 

> 
> This is the only way you can do it.
> Any time before you call updateDocument() is fine.
> If you have your updatecontext set to implicitly update documents,
> then you need to do this before executing XmlModify.

Ok. Thank you for your help.

> 
> Would the addition of an addUpdateStep() that affects metadata do
> the trick for you?  That may be a reasonable feature to add.
> 

My application stamps all document with "last modified time" (using
metadata). This is the reason why I need update metadata when document
content changed.

The more reasonable feature to add is addUpdateStep with argument
"content" as element node (not text node).

Marcin Kuthan




------------------------------------------
To remove yourself from this list, send an
email to [email protected]