Setting KML Document Attributes
From fmepedia
The KML writer implicitly creates a Document element for each KML dataset. Some of the dataset advanced settings in Workbench, such as "Document Name", and "Document Description" are sufficient for many users. However, sometimes its nice to take full control over all aspects of the output document.
Its also very easy to do with the KML writer:
- Use a creator to create a feature
- Use a AttributeCreator to set the format attributes you're interested in.
- Do not add a kml_id or kml_document attribute. This only works for document features with no document/id
- Create a "Document" destination feature type, and send it the results of the AttributeCreator
That's it.
Example
Workspace: override_doc_attr.fmw
Result: override_doc_attr.kml
