Must construct xml to create workspace or featureclass ?

2821
2
08-24-2011 07:13 AM
hexuezhou
New Contributor
Hi, I want to create workspace by  File GDB API, but I found only construct xml before do this .

It is not like ArcObjects createFeatureClass Function conveniency .

Am I wrong ? Thank you!
0 Kudos
2 Replies
LanceShipman
Esri Regular Contributor
You must write XML to create feature datasets, feature classes or tables. Examples are supplied under samples\XMLsamples. The creation of a File Geodatabase does not require XML and is a simple call to geodatabase::creategeodatabase.
0 Kudos
hexuezhou
New Contributor
Hi ,lshipman

Thank you for your reply.
In my option , create xml schema will slow down coding effective .
for one dataset have many Table and FeatureClass to created,so we must construct difference xml string
for this .

Why doing in this way?
0 Kudos