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.