How to create an xml and post it to a Url?

How to create an xml and post it to a Url?

Hi,

Can anyone help me in providing  tutorial or detailed procedure on creating an xml using deluge script that takes some of the input paramenters from the form and post it to a URL for getting some response?