I was building an InfoPath and it was necessary to retrieve information from a SharePoint List in XML format so i used this simple URL:
http://YOUR SITE/_vti_bin/owssvr.dll?Cmd=Display&List={LISTGUID}&View={VIEWGUID}&XMLDATA=TRUE
With this url you can create views with the information that you need and use it in xml format.