FDO API Reference Feature Data Objects

static System::Void XmlFeatureSerializer::XmlSerialize NAMESPACE_OSGEO_FDO_COMMANDS_FEATURE::IFeatureReader reader,
NAMESPACE_OSGEO_FDO_XML::XmlFeatureWriter *  writer
[static]
 

writes the features retrieved by a feature reader to an XML document.

Parameters:
connection Input the Feature Reader.
writer Input XML document writer. By default, the features written are wrapped in a GML FeatureCollection element. This behaviour can be changed by setting flags->writeCollection. The name of the collection element can also be customized by setting flags->collectionUri and flags->collectionName.
flags Input options for controlling the serializing of the features. If NULL then the flags passed to the document writer are used.

Comments or suggestions? Send us feedback.