Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

CreateFeatureSource
DescribeSchema
DescribeSchema
DescribeSchemaAsXml
DescribeSchemaAsXml
DescribeWfsFeatureType
EnumerateDataStores
ExecuteSqlNonQuery
ExecuteSqlQuery
GetCapabilities
GetClassDefinition
GetClasses
GetConnectionPropertyValues
GetFeatureProviders
GetLockedFeatures
GetLongTransactions
GetSchemaMapping
GetSchemas
GetSpatialContexts
GetWfsFeature
SchemaToXml
SelectAggregate
SelectFeatures
SelectFeatures
SetLongTransaction
TestConnection
TestConnection
UpdateFeatures
XmlToSchema
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 |

Comments or suggestions? Send us feedback.