Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Updating Datastore/Datawindow with XML string

Status
Not open for further replies.

rubikov

Programmer
Sep 30, 2004
3
PL
Hello,
I've got a problem.
I am trying to update my Datastore/Datawindow using XML string which consists of all changed data (e.g. one row which has been changed).
Does anybody know how to do it?

There is possibility to import new data to the DS/DW using dw_object.importstring(XML!, "<xml><.......") but it is used only (am I right) to inserting nwe data...

Is there such a method/way to update data using XML

Thanks
rubikov
 
My guess is you will have to identify the row in the datastore corresponding to the XML row, parse through the XML and then use setitem to put the data into the datastore (or insert a new row if none exists in the datastore).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top