FDO API Reference Feature Data Objects

virtual FDO_API void FdoXmlFeatureFlags::SetSchemaLocation FdoString nameSpace,
FdoString schemaLocation
[virtual]
 

Sets the schema locations for writing features. The output GML must have schema definition for all its referenced namespaces, e.g, gml namespace, wfs namespace, user defined namespace. There are default values for gml namespace schema location and wfs namespace schema location, so the user doesn't need to set locations for those two namespaces. But the user can still set values to override the default values. The user could call this function multiple times to set schema location for multiple namespace.

Parameters:
nameSpace Namespace of which the schema location is to be set. Like "http://www.opengis.net/wfs" for wfs namespace.
schemaLocation Standard URL indicating the schema location, like "http://schemas.opengeospatial.net/wfs/1.0.0/WFS-basic.xsd" for wfs namespace.

Comments or suggestions? Send us feedback.