How can you find that XML? Once you have run a query, you can access your query history from the left-hand menu. (We might actually move this to the top in the next release to make this more visible, but that's a different story.) Under the Query Details menu you can find the XML.
Here is an example XML for a query. This one below would simply list all current protein structures.
Custom Reports
I have mentioned these reports already in a previous blog entry. On the Web site these reports allow to obtain Image Collages, pre-defined reports containing various fields, and exports to Excel to mention just a few of the available options.
As part of the new Web service these reports allow to fetch various fields via XML, comma separated file, or as an Excel file. There are step by step instructions available for how to use this new feature. Happy scripting!