AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual MgFeatureSchemaCollection* MgFeatureService::XmlToSchema ( CREFSTRING  xml  )  [pure virtual]

Creates an MgFeatureSchemaCollection object using the XML schema provided.

Remarks:
The XML representation of the schema definitions conforms to FDO XML schema, which are based on OGC GML schema. How to specify a schema definition in XML is discussed in the Autodesk FDO API Developer's Guide.
.NET Syntax
virtual MgFeatureSchemaCollection XmlToSchema(string xml);
Java Syntax
virtual MgFeatureSchemaCollection XmlToSchema(String xml);
PHP Syntax
virtual MgFeatureSchemaCollection XmlToSchema(string xml);

Parameters:
xml (String/string) A string containing schema definitions in XML format.
Returns:
Returns an MgFeatureSchemaCollection object.
Exceptions:
MgNullArgumentException 
MgFdoException