Receiving XML Posted data
This isn't something I've tried myself, but if you create a form with a file element, you should be able to control the $_POST['id'] that Drupal looks for by manipulating the id of the file-element.

That way the file should get passed on to the forms submit function, and then you can do whatever you want with it's content and react accordingly afterwards.