Update existing objects from XML
I have a XML enabled persistent class and a XML representation of some object of this class (object ID is available).
How can I use XML Reader (or some other mechanism) to automatically update this object?
I have a XML enabled persistent class and a XML representation of some object of this class (object ID is available).
How can I use XML Reader (or some other mechanism) to automatically update this object?
The example in the documentation to %XML.Reader, does not work for you?
It would create a new object.
I want to update already existing object.
Didn't knew you could do that with id.
Perhaps something along these lines...
Usage...