Hi,
I need to work on XML files using Delphi.
I want to present the xml data in a DBGrid to the user and save the changes done by user in the XML file.
For example in the below xml (which was presented to the user), if user changed City of ABC under client
and added a new customer with NickName as "AAA"
those changes should be reflected in the XML file.
<Data LinkID=”0”>
<Client>
<Item Name=”ABC” Mobile=”1234” City=”IN” />
<Item Name=”PQR” Mobile=”5678” City=”IN” />
</Client>
<Customer>
<Item NickName=”XYZ” Phone=”1254” City=”IN” />
<Item NickName=”MNO” Phone =”41255” City=”IN” />
</Customer>
</Data>
I am working with XMLDocument and ClientDataSet to achieve this but without success.
Can anyone help me in achieving this?