fridjof

Import single dataset from XML workspace document

Discussion created by fridjof on Jan 19, 2011
Hi there,

Could anyone give me some hints how to import a single dataset from an XML worspace document into a geodatabase? I know there are examples out there how to import an entire XML workspace document: http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/How_to_import_a_dataset_from_XML/00010000011m000000/. The title of that page says "How to import a dataset from XML", but it only shows how to import the entire document.

But let's say I've got some of the datasets in my geodatabase already and I want to skip them and just import the new ones (those that have no name conflicts). Is there a way to edit the IEnumNameMapping enumeration, or create a new one, so that only a subset of the datasets gets imported?

Thanks.

Outcomes