- 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
- Layers and Feature Type Fanout
- Feature Attributes
- Geometry
- 3D
- 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 > Feature Representation > Documents and Folders
Documents and Folders
KML has two container element types: <Folder> and <Document>, which in many ways are functionally equivalent. For practical purposes, the KML writer assumes that each KML file has a single <Document> root element, which cannot contain subsequent <Document> elements. Furthermore, the KML writer also assumes that each <Folder> element cannot contain any <Document> elements.