Export custom Sharepoint List Definitions (schema.xml)

When creating a custom list for provisioning you need to manually edit the horrible Schema.XML file. Now there are a few methods to do it the easy way. Just create the lists and export the XML file to your solution

You can use Sharepoint Spy (doesn’t work under Server 2008). It allows you to spy into the internal data of SharePoint and compare the effects of making a change. Sharepoint Spy also allows you to compare settings between sites, lists, views, etc helping you troubleshoot configurations. Or you can use the STSADM toolm “OCDExportList“, you could imply from its name it allows you to export the List Definitions.