Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way in ArcGIS10 to export all feat classes, tables, datasets all at once as XML? I know there is a batch command but still appears you have to select items. I am in process of writing a script but do not yet know what method/function in ArcGIS to use that would get all at once the FeatureClassList, TableList, and DatasetList instead of getting one by one and then manipulating.

Any Help is appreciated! Thanks.

share|improve this question

As you mentioned, in ArcGIS 10.0 you can export schema or data to an XML file manually if you right click on your geodatabase > Export > XML Workspace Document. You can also do this using ArcObjects.

You can do the same in ArcGIS 10.1 but there also exists an Export XML Workspace Document (Data Management) geoprocessing tool to accomplish this that you can leverage in your python scripting that was newly added at 10.1.

Therefore, if you are using python to script, I am not sure you have access to methods/functions for easily exporting to XML at 10.0.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.