Use the foll.following URL to get XML of list:-
http://{0}/_vti_bin/owssvr.dll?Cmd=Display&List={1}&XMLDATA=TRUE
{0} – The URL to your site. This could be the root web or a child site.
{1} – The GUID for your list.
http://{0}/_vti_bin/owssvr.dll?Cmd=Display&List={1}&XMLDATA=TRUE
{0} – The URL to your site. This could be the root web or a child site.
{1} – The GUID for your list.
To find the GUID for a list, just go to the Settings page for the list and copy it from the URL.
Use the foll.following URL to get XML of list view:-
In addition to viewing a list using the Cmd=DisplayCmd=Display
command in the URL request, you can also return all data for a SharePoint list, but based on a specific view from that list, by adding the &View={ViewGuid}&View={ViewGuid}
to the URL request, like the following:
http://{yoursite}/_vti_bin/owssvr.dll?Cmd=Display&List={list GUID}&View={ViewGuid}&XMLDATA=TRUE
where: {ViewGuid} : is the GUID of the list view.
http://{yoursite}/_vti_bin/owssvr.dll?Cmd=Display&List={list GUID}&View={ViewGuid}&XMLDATA=TRUE
where: {ViewGuid} : is the GUID of the list view.