Re: [bdbxml] Limitations of XMLModify
George Feinberg <[email protected]>
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Message-ID | <[email protected]> |
Konrad, There are two variants of XmlModify::execute(). One takes an XmlValue (single context item) argument and the other takes an XmlResult (multiple context items) argument. If you first construct a separate query that returns the root nodes of the target documents for your update, that XmlResult object can be used as the input to XmlModify::execute(XmlResult &, ...) Regards, George > One thing that I find missing in XMLModify is the ability to use > variables > in what is to be written to the database. > > 1) It is possible to construct a qery which will run against > differend documents > 2) usign this it is possible to construct an Update and apply it to > multiple documents but the updates need to be exactly the same/ > > One task which will come up for me is the need to restructure a set > of documetns > to fit a new schema. In this case as far as I can see I will need > to build a new > XMLModify Object each time even though the structure of the changes > will be identical each time. ------------------------------------------ To remove yourself from this list, send an email to [email protected]