in reply to Sending XML data

Have the client JSON instead. :)

Joking aside, you can probably find a lot of help and basics here: XML Basics: Reading and Writing

It helps to remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.