Syntax FACTORY_DEF GMLFactory [FACTORY_NAME ] [INPUT FEATURE_TYPE [ ]* []*]* MODE EXTRACTOR [FME_FEATURE_TYPE_ATTR ] XSD_DOC [GML_OUTPUT_ATTR ] [GML_OUTPUT_ENCODING ] [GML_OUTPUT_NAMESPACE_DECLARATIONS ] [GML_PREFER_POLYGON_OVER_SURFACE (Yes|No)] [PRETTY_PRINT ] [INDENT_SIZE ] [REPLACE_TABS_WITH_SPACES ] OUTPUT OUTPUT FEATURE_TYPE [ ]* []*]* Overview Currently this factory only works in EXTRACTOR mode. In this mode, the factory is used to write out GML features that correspond to existing GML feature types from a given set of GML application schemas. The FME_FEATURE_TYPE_ATTR optional clause specifies the attribute whose value hold the GML feature type. THE XSD_DOC clause is used to specify the set of GML application schemas. The GML_OUTPUT_ATTR clause specifies the attribute where the serialized GML feature is stored. The GML_OUTPUT_ENCODING clause specifies the serialized GML document encoding. The GML_OUTPUT_NAMESPACE_DECLARATION clause specifies a set of xml namespace declarations that may be used to augment and overwrite the namespace declarations from the schemas in the GML output. The legal values for this clause are whitespace-separated XML namespace declarations as they would appear in an XML element. The GML_PREFER_POLYGON_OVER_SURFACE clause specifies whether Surface or Polygons are written. Setting the PRETTY_PRINT clause to Yes ensures that output is neatly formatted. The INDENT_SIZE can be set from 0 to 9, setting REPLACE_TAB_WITH_SPACES to Yes substitute the Tab character with a Space. Output Tags The GMLFactory supports the following output tags. OUTPUT Successfully serialized GML features are output via this OUTPUT output tag. REJECTED Features with no corresponding GML feature types are output through the REJECTED output tag.