It is going to be beyond my skill level i think.
At http://www.discogs.com/users/export you can export a csv file of your marketplace inventory. For what we were talking about you'd need an xml file.
I think it's possible to create a xml file that fetches the csv file, but its beyond me.