# Synchronizing DataGrid and XML(MX2004)

**URL:** <https://forum.kirupa.com/t/synchronizing-datagrid-and-xml-mx2004/43987>\
**Category:** programming\
**Created:** [February 27, 2004, 5:49pm UTC](https://forum.kirupa.com/t/synchronizing-datagrid-and-xml-mx2004/43987 "2004-02-27T17:49:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirthinidhi](https://avatars.discourse-cdn.com/v4/letter/k/8dc957/32.png) [@kirthinidhi](https://forum.kirupa.com/u/kirthinidhi)\
**Post date:** [February 27, 2004, 5:49pm UTC](https://forum.kirupa.com/t/synchronizing-datagrid-and-xml-mx2004/43987/1 "2004-02-27T17:49:09Z")

</div>

Hi!

This is what typically I am trying to do. I am creating a small application which says the employees status, i.e. their name, designation and whether they are IN or OUT.

I have an ‘Editable’ datagrid which loads my XML file. After editing I managed to use the ‘Xupdate Resolver’ component to display the updated packet in a ‘TextArea’ component.

When I edit something in the grid and click the ‘Show Updates’ button it displays the updates something like this

\<?xml version=“1.0”?\>\<xupdate:modifications version=“1.0” xmlns:xupdate=“[http://www.xmldb.org/xupdate](http://www.xmldb.org/xupdate)” transID=“IID52442738647:Fri Feb 27 11:43:47 GMT-0600 2004”\>\<xupdate:update select="/datapacket/row[@id=‘1’]/@Status" opID=“IID31984007685”\>OUT TO LUNCH\</xupdate:update\>\<xupdate:update select="/datapacket/row[@id=‘1’]/@Name" opID=“IID31984007685”\>George\</xupdate:update\>\</xupdate:modifications\>

I want this update to happen in my original XML file. Is it possible to do it without server side scripting? If not what should I do. Kindly help me out.

Thanks

K:beard:
