Browsable Keyhole Markup Language (KML) Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: markup/graphical/kml/vepa/extracted
Source used for this grammar: Eric Vepa, KML 2.0 (Keyhole Markup Language) 0.1, KML.ecore, 2006/06/30

Summary

Syntax

String ::=
	string
Boolean ::=
	"true"
	"false"
Integer ::=
	integer
Node ::=
	ElementNode
Node ::=
	AttributeNode
ElementNode ::=
	RootNode
ElementNode ::=
	TextNode
ElementNode ::=
	KMLNode
AttributeNode ::=
	[value]::String
RootNode ::=
	KMLRootNode
TextNode ::=
	[nodes]::Node+
KMLNode ::=
	Address
KMLNode ::=
	AltitudeMode
KMLNode ::=
	BalloonStyle
KMLNode ::=
	Color
KMLNode ::=
	ColorMode
KMLNode ::=
	Cookie
KMLNode ::=
	Coordinates
KMLNode ::=
	Coordinate
KMLNode ::=
	Description
KMLNode ::=
	Document
KMLNode ::=
	DrawOrder
KMLNode ::=
	East
KMLNode ::=
	Extrude
KMLNode ::=
	Fill
KMLNode ::=
	FlyToView
KMLNode ::=
	Folder
KMLNode ::=
	GroundOverlay
KMLNode ::=
	H
KMLNode ::=
	Heading
KMLNode ::=
	Href
KMLNode ::=
	Icon
KMLNode ::=
	IconStyle
KMLNode ::=
	InnerBoundaryIs
KMLNode ::=
	Key
KMLNode ::=
	LabelStyle
KMLNode ::=
	Latitude
KMLNode ::=
	LatLonBox
KMLNode ::=
	LinearRing
KMLNode ::=
	LineString
KMLNode ::=
	LineStyle
KMLNode ::=
	LinkDescription
KMLNode ::=
	LinkName
KMLNode ::=
	Longitude
KMLNode ::=
	LookAt
KMLNode ::=
	Message
KMLNode ::=
	MinRefreshPeriod
KMLNode ::=
	MultiGeometry
KMLNode ::=
	Name
KMLNode ::=
	NetworkLink
KMLNode ::=
	NetworkLinkControl
KMLNode ::=
	North
KMLNode ::=
	ObjArrayField
KMLNode ::=
	ObjField
KMLNode ::=
	Open
KMLNode ::=
	OuterBoundaryIs
KMLNode ::=
	Outline
KMLNode ::=
	OverlayXY
KMLNode ::=
	Pair
KMLNode ::=
	Parent
KMLNode ::=
	Placemark
KMLNode ::=
	Point
KMLNode ::=
	Polygon
KMLNode ::=
	PolyStyle
KMLNode ::=
	Range
KMLNode ::=
	RefreshInterval
KMLNode ::=
	RefreshMode
KMLNode ::=
	RefreshVisibility
KMLNode ::=
	Rotation
KMLNode ::=
	Schema
KMLNode ::=
	Scale
KMLNode ::=
	ScreenOverlay
KMLNode ::=
	ScreenXY
KMLNode ::=
	SimpleArrayField
KMLNode ::=
	SimpleField
KMLNode ::=
	Size
KMLNode ::=
	South
KMLNode ::=
	Snippet
KMLNode ::=
	Style
KMLNode ::=
	StyleMap
KMLNode ::=
	StyleUrl
KMLNode ::=
	Tessellate
KMLNode ::=
	Text
KMLNode ::=
	TextColor
KMLNode ::=
	Tilt
KMLNode ::=
	Type
KMLNode ::=
	Url
KMLNode ::=
	ViewBoundScale
KMLNode ::=
	ViewRefreshMode
KMLNode ::=
	ViewRefreshTime
KMLNode ::=
	ViewFormat
KMLNode ::=
	Visibility
KMLNode ::=
	W
KMLNode ::=
	West
KMLNode ::=
	Width
KMLNode ::=
	X
KMLNode ::=
	Y
KMLRootNode ::=
	ε
Address ::=
	[value]::String
AltitudeMode ::=
	[value]::AltitudeModeValue
AltitudeModeValue ::=
	[clampedToGround]::ε
	[relativeToGround]::ε
	[absolute]::ε
BalloonStyle ::=
	ε
Color ::=
	[value]::String
ColorMode ::=
	[value]::ColorModeValue
ColorModeValue ::=
	[normal]::ε
	[random]::ε
Cookie ::=
	[value]::String
Coordinates ::=
	ε
Coordinate ::=
	ε
Description ::=
	[value]::String
Document ::=
	ε
DrawOrder ::=
	[value]::Integer
East ::=
	[value]::Double
Extrude ::=
	[value]::Boolean
Fill ::=
	[value]::Boolean
FlyToView ::=
	[value]::Boolean
Folder ::=
	ε
GroundOverlay ::=
	ε
H ::=
	[value]::Integer
Heading ::=
	[value]::Double
Href ::=
	[value]::String
Icon ::=
	ε
IconStyle ::=
	ε
InnerBoundaryIs ::=
	ε
Key ::=
	[value]::String
LabelStyle ::=
	ε
Latitude ::=
	[value]::Double
LatLonBox ::=
	ε
LinearRing ::=
	ε
LineString ::=
	ε
LineStyle ::=
	[id]::String
LinkDescription ::=
	[value]::String
LinkName ::=
	[value]::String
Longitude ::=
	[value]::Double
LookAt ::=
	ε
Message ::=
	ε
MinRefreshPeriod ::=
	[value]::String
MultiGeometry ::=
	ε
Name ::=
	[value]::String
NetworkLink ::=
	ε
NetworkLinkControl ::=
	ε
North ::=
	[value]::Double
ObjArrayField ::=
	ε
ObjField ::=
	ε
Open ::=
	[value]::String
OuterBoundaryIs ::=
	ε
Outline ::=
	[value]::String
OverlayXY ::=
	[x]::String [y]::String [xunits]::String [yunits]::String
Pair ::=
	ε
Parent ::=
	[value]::String
Placemark ::=
	ε
Point ::=
	ε
Polygon ::=
	ε
PolyStyle ::=
	ε
Range ::=
	[value]::String
RefreshInterval ::=
	[value]::String
RefreshMode ::=
	[value]::String
RefreshVisibility ::=
	[value]::String
Rotation ::=
	[value]::String
Schema ::=
	ε
Scale ::=
	[value]::String
ScreenOverlay ::=
	[id]::String
ScreenXY ::=
	[x]::String [y]::String [xunits]::String [yunits]::String
SimpleArrayField ::=
	ε
SimpleField ::=
	ε
Size ::=
	[x]::String [y]::String [xunits]::String [yunits]::String
South ::=
	[value]::Double
Snippet ::=
	ε
Style ::=
	[id]::String
StyleMap ::=
	ε
StyleUrl ::=
	[value]::String
Tessellate ::=
	[value]::String
Text ::=
	ε
TextColor ::=
	[value]::String
Tilt ::=
	[value]::String
Type ::=
	[value]::String
Url ::=
	ε
ViewBoundScale ::=
	[value]::String
ViewRefreshMode ::=
	[value]::String
ViewRefreshTime ::=
	[value]::Integer
ViewFormat ::=
	[value]::String
Visibility ::=
	[value]::String
W ::=
	[value]::Integer
West ::=
	[value]::Double
Width ::=
	[value]::Double
X ::=
	[value]::Integer
Y ::=
	[value]::Integer

GrammarLabMaintained by Dr. Vadim Zaytsev a.k.a. @grammarware. Last updated in September 2015. []