- Google KML Reader/Writer
- Google KML Quick Facts
- Resource Traversal
- Reader Parameters
- Writer Parameters
- Feature Types
- Writer Pipelines
- Atom Metadata
- Style Management and Common Styles
- Document Element Omission
- Raw Text
- Update Mode
- Feature Representation
- KML Dataset Structure
- File Structure
- Identifying Elements
- Documents and Folders
- Tours
- Extended Data
- User Defined Schema
- Layers and Feature Type Fanout
- Feature Attributes
- Geometry
- 3D
- Fixed Schema
- Common Element Attributes
- Common Format Attributes
- NetworkLinkControl
- Document
- Folder
- Placemark
- ScreenOverlay
- GroundOverlay
- PhotoOverlay
- NetworkLink
- Style
- StyleMap
- Tour
- AnimatedUpdate
- FlyTo
- SoundCue
- TourControl
- Wait
You are here: Popular Formats > Google KML Reader/Writer > Style Management and Common Styles > Style Element Location
Style Element Location
By default, all style elements (Style and StyleMap) are written to the root document. The name of an alternative file can be specified with the 'STYLE_DOC' writer directive.
In addition, each feature with Style or StyleMap feature type can use the kml_document format attribute to specify the name of the document that will contain its associated Style or StyleMap element.