Topic: Modifying XML Data and posting back to URL
Im working with the Google contacts api and am attempting to update a contact https://developers.google.com/google-ap g_contacts
The docs say to retrieve the contact info (comes as XML), modify it and then send a puts request to update. As this is something i haven't done before (modifying XML data) I am a little unsure how to modify the received XML data.
My thinking is that next to each retrieved contact i have a link next to it saying "Update contact" for example, then that will take me to a form with the contact details already populated in each field, ready for the user to edit. Once edited i can then click a submit button which which go via the puts action.
Could anyone give me some pointers on how to go about this please or some resources to look at.
Any help appreciated