MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
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