Determine Dataset Type from XML datasource

Discussion created by shannonwhite on Mar 29, 2011
Hi Everyone, I hope someone can lend me a hand on figuring out this problem that I have.  I have created an add-on that will load a xml data-source to our sde and automatically set the config.keywords for all the layers.  The only problem is that our database uses default keywords for typology and networks, so when loading the data it will fail miserably!  Is there a way that I can determine the dataset type of the item that is to be loaded using the enumNamemapping?  I am sure there is, since the wizard for loading a xml file shows the dataset type on the left.  However I cannot seem to find any documentation on how to do this.  Any help would be appreciated,  Thanks