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 STRING MgFeatureService::SchemaToXml | ( | MgFeatureSchemaCollection * | schema | ) | `[pure virtual]`
Translates the FDO schema information in the provided MgFeatureSchemaCollection object into a string containing an XML representation of the schema definitions in the feature source. See Feature Schema . 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 string SchemaToXml(MgFeatureSchemaCollection schema);`
Java Syntax
`virtual String SchemaToXml(MgFeatureSchemaCollection schema);`
PHP Syntax
`virtual string SchemaToXml(MgFeatureSchemaCollection schema);`
  Parameters:
  | schema | (MgFeatureSchemaCollection) A FeatureSchemaCollection object.
  Returns: Returns a string containiing a set of FDO schema definitions in XML format. Exceptions:
  | MgFeatureServiceException |
  | MgNullArgumentException |
  | MgFdoException |

Comments or suggestions? Send us feedback.