Table of Contents
Target Namespace
http://earth.google.com/kml/2.1
Version
$Revision: 1.25 $
Element and Attribute Namespaces
Global element and attribute declarations belong to this schema's target namespace.
By default, local element declarations belong to this schema's target namespace.
By default, local attribute declarations have no namespace.
Documentation
KML 2.1 Reference: http://earth.google.com/kml/kml_tags_21.html
KML 2.1 Reference "abstract element" is a
W3C XML Schema substitutionGroup:
Object
Feature
Overlay
Container
Geoemtry
ColorStyle
StyleSelector
TimePrimitive
Child elements are generally minOccurs="0" due to Update's Change.
However, it is considered good practice to explicitly set the
"obvious" children of a given element. For example, north, south,
east and west of LatLonBox should always be set.
The <schema> version attribute will change for minor bug fixes
to the schema itself.
Declare head of Object substitutionGroup.
Declare head of Feature substituionGroup.
Declare head of "Geometry" substitutionGroup.
Declare head of StyleSelector substitution group.
Declare head of TimePrimitive substitution group.
Concrete elements.
<kml> is the root element.
In KML 2.0 Icon is of type IconType which extends
LinkType with palette indexing.
Icon simply a LinkType in KML 2.1.
IconType unused in KML 2.1.
Presented for reference as used in KML 2.0.
Declared Namespaces
Prefix
Namespace
Default namespace
http://www.w3.org/2001/XMLSchema
xml
http://www.w3.org/XML/1998/namespace
kml
http://earth.google.com/kml/2.1
Schema Component Representation
<
schema
targetNamespace ="
http://earth.google.com/kml/2.1 "
elementFormDefault ="
qualified "
version ="
$Revision: 1.25 $ ">
...
</
schema >
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :BalloonStyle
id="ID
[0..1] "
targetId="NCName
[0..1] " >
Start Choice
[1]
'color deprecated in 2.1'
End Choice
<
kml :text>
string </
kml :text>
[0..1]
</
kml :BalloonStyle>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :Document
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :name>
string </
kml :name>
[0..1]
<
kml :visibility>
boolean </
kml :visibility>
[0..1]
<
kml :open>
boolean </
kml :open>
[0..1]
<
kml :address>
string </
kml :address>
[0..1]
<
kml :phoneNumber>
string </
kml :phoneNumber>
[0..1]
<
kml :description>
string </
kml :description>
[0..1]
</
kml :Document>
Schema Component Representation
<
element
name ="
Document "
type ="
kml :DocumentType
"
substitutionGroup ="
kml:Feature "/>
The following elements can be used wherever this element is referenced:
XML Instance Representation
<
kml :Feature
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :name>
string </
kml :name>
[0..1]
<
kml :visibility>
boolean </
kml :visibility>
[0..1]
<
kml :open>
boolean </
kml :open>
[0..1]
<
kml :address>
string </
kml :address>
[0..1]
<
kml :phoneNumber>
string </
kml :phoneNumber>
[0..1]
<
kml :description>
string </
kml :description>
[0..1]
</
kml :Feature>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :Folder
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :name>
string </
kml :name>
[0..1]
<
kml :visibility>
boolean </
kml :visibility>
[0..1]
<
kml :open>
boolean </
kml :open>
[0..1]
<
kml :address>
string </
kml :address>
[0..1]
<
kml :phoneNumber>
string </
kml :phoneNumber>
[0..1]
<
kml :description>
string </
kml :description>
[0..1]
</
kml :Folder>
Schema Component Representation
<
element
name ="
Folder "
type ="
kml :FolderType
"
substitutionGroup ="
kml:Feature "/>
The following elements can be used wherever this element is referenced:
XML Instance Representation
<
kml :Geometry
id="ID
[0..1] "
targetId="NCName
[0..1] " />
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :GroundOverlay
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :name>
string </
kml :name>
[0..1]
<
kml :visibility>
boolean </
kml :visibility>
[0..1]
<
kml :open>
boolean </
kml :open>
[0..1]
<
kml :address>
string </
kml :address>
[0..1]
<
kml :phoneNumber>
string </
kml :phoneNumber>
[0..1]
<
kml :description>
string </
kml :description>
[0..1]
<
kml :drawOrder>
int </
kml :drawOrder>
[0..1]
<
kml :altitude>
double </
kml :altitude>
[0..1]
</
kml :GroundOverlay>
Element: Icon
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :Icon
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :href>
anyURI </
kml :href>
[0..1]
<
kml :refreshInterval>
float </
kml :refreshInterval>
[0..1]
<
kml :viewRefreshTime>
float </
kml :viewRefreshTime>
[0..1]
<
kml :viewBoundScale>
float </
kml :viewBoundScale>
[0..1]
<
kml :viewFormat>
string </
kml :viewFormat>
[0..1]
<
kml :httpQuery>
string </
kml :httpQuery>
[0..1]
</
kml :Icon>
Schema Component Representation
<
element
name ="
Icon "
type ="
kml :LinkType
"
substitutionGroup ="
kml:Object "/>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :IconStyle
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :scale>
float </
kml :scale>
[0..1]
<
kml :heading>
float </
kml :heading>
[0..1]
</
kml :IconStyle>
Schema Component Representation
<
element
name ="
IconStyle "
type ="
kml :IconStyleType
"
substitutionGroup ="
kml:Object "/>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :LabelStyle
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :scale>
float </
kml :scale>
[0..1]
</
kml :LabelStyle>
Schema Component Representation
<
element
name ="
LabelStyle "
type ="
kml :LabelStyleType
"
substitutionGroup ="
kml:Object "/>
XML Instance Representation
<
kml :LatLonAltBox
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :minAltitude>
double </
kml :minAltitude>
[0..1]
<
kml :maxAltitude>
double </
kml :maxAltitude>
[0..1]
</
kml :LatLonAltBox>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :LatLonBox
id="ID
[0..1] "
targetId="NCName
[0..1] " >
</
kml :LatLonBox>
Schema Component Representation
<
element
name ="
LatLonBox "
type ="
kml :LatLonBoxType
"
substitutionGroup ="
kml:Object "/>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :LineString
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :extrude>
boolean </
kml :extrude>
[0..1]
<
kml :tessellate>
boolean </
kml :tessellate>
[0..1]
</
kml :LineString>
Schema Component Representation
<
element
name ="
LineString "
type ="
kml :LineStringType
"
substitutionGroup ="
kml:Geometry "/>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :LineStyle
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :width>
float </
kml :width>
[0..1]
</
kml :LineStyle>
Schema Component Representation
<
element
name ="
LineStyle "
type ="
kml :LineStyleType
"
substitutionGroup ="
kml:Object "/>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :LinearRing
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :extrude>
boolean </
kml :extrude>
[0..1]
<
kml :tessellate>
boolean </
kml :tessellate>
[0..1]
</
kml :LinearRing>
Schema Component Representation
<
element
name ="
LinearRing "
type ="
kml :LinearRingType
"
substitutionGroup ="
kml:Geometry "/>
Element: Link
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :Link
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :href>
anyURI </
kml :href>
[0..1]
<
kml :refreshInterval>
float </
kml :refreshInterval>
[0..1]
<
kml :viewRefreshTime>
float </
kml :viewRefreshTime>
[0..1]
<
kml :viewBoundScale>
float </
kml :viewBoundScale>
[0..1]
<
kml :viewFormat>
string </
kml :viewFormat>
[0..1]
<
kml :httpQuery>
string </
kml :httpQuery>
[0..1]
</
kml :Link>
Schema Component Representation
<
element
name ="
Link "
type ="
kml :LinkType
"
substitutionGroup ="
kml:Object "/>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :ListStyle
id="ID
[0..1] "
targetId="NCName
[0..1] " >
</
kml :ListStyle>
Schema Component Representation
<
element
name ="
ListStyle "
type ="
kml :ListStyleType
"
substitutionGroup ="
kml:Object "/>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :Location
id="ID
[0..1] "
targetId="NCName
[0..1] " >
Start All
[1]
<
kml :altitude>
double </
kml :altitude>
[0..1]
End All
</
kml :Location>
Schema Component Representation
<
element
name ="
Location "
type ="
kml :LocationType
"
substitutionGroup ="
kml:Object "/>
Element: Lod
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :Lod
id="ID
[0..1] "
targetId="NCName
[0..1] " >
Start All
[1]
<
kml :minLodPixels>
float </
kml :minLodPixels>
[0..1]
<
kml :maxLodPixels>
float </
kml :maxLodPixels>
[0..1]
<
kml :minFadeExtent>
float </
kml :minFadeExtent>
[0..1]
<
kml :maxFadeExtent>
float </
kml :maxFadeExtent>
[0..1]
End All
</
kml :Lod>
Schema Component Representation
<
element
name ="
Lod "
type ="
kml :LodType
"
substitutionGroup ="
kml:Object "/>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :LookAt
id="ID
[0..1] "
targetId="NCName
[0..1] " >
Start All
[1]
<
kml :altitude>
double </
kml :altitude>
[0..1]
<
kml :range>
double </
kml :range>
[0..1]
End All
</
kml :LookAt>
Schema Component Representation
<
element
name ="
LookAt "
type ="
kml :LookAtType
"
substitutionGroup ="
kml:Object "/>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :Model
id="ID
[0..1] "
targetId="NCName
[0..1] " >
</
kml :Model>
Schema Component Representation
<
element
name ="
Model "
type ="
kml :ModelType
"
substitutionGroup ="
kml:Geometry "/>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :MultiGeometry
id="ID
[0..1] "
targetId="NCName
[0..1] " >
</
kml :MultiGeometry>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :NetworkLink
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :name>
string </
kml :name>
[0..1]
<
kml :visibility>
boolean </
kml :visibility>
[0..1]
<
kml :open>
boolean </
kml :open>
[0..1]
<
kml :address>
string </
kml :address>
[0..1]
<
kml :phoneNumber>
string </
kml :phoneNumber>
[0..1]
<
kml :description>
string </
kml :description>
[0..1]
<
kml :refreshVisibility>
boolean </
kml :refreshVisibility>
[0..1]
<
kml :flyToView>
boolean </
kml :flyToView>
[0..1]
Start Choice
[0..1]
'Url deprecated in 2.1.'
End Choice
</
kml :NetworkLink>
Schema Component Representation
<
element
name ="
NetworkLink "
type ="
kml :NetworkLinkType
"
substitutionGroup ="
kml:Feature "/>
The following elements can be used wherever this element is referenced:
XML Instance Representation
<
kml :Object
id="ID
[0..1] "
targetId="NCName
[0..1] " />
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :Orientation
id="ID
[0..1] "
targetId="NCName
[0..1] " >
Start All
[1]
End All
</
kml :Orientation>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :Placemark
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :name>
string </
kml :name>
[0..1]
<
kml :visibility>
boolean </
kml :visibility>
[0..1]
<
kml :open>
boolean </
kml :open>
[0..1]
<
kml :address>
string </
kml :address>
[0..1]
<
kml :phoneNumber>
string </
kml :phoneNumber>
[0..1]
<
kml :description>
string </
kml :description>
[0..1]
</
kml :Placemark>
Schema Component Representation
<
element
name ="
Placemark "
type ="
kml :PlacemarkType
"
substitutionGroup ="
kml:Feature "/>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :Point
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :extrude>
boolean </
kml :extrude>
[0..1]
<
kml :tessellate>
boolean </
kml :tessellate>
[0..1]
</
kml :Point>
Schema Component Representation
<
element
name ="
Point "
type ="
kml :PointType
"
substitutionGroup ="
kml:Geometry "/>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :PolyStyle
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :fill>
boolean </
kml :fill>
[0..1]
<
kml :outline>
boolean </
kml :outline>
[0..1]
</
kml :PolyStyle>
Schema Component Representation
<
element
name ="
PolyStyle "
type ="
kml :PolyStyleType
"
substitutionGroup ="
kml:Object "/>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :Polygon
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :extrude>
boolean </
kml :extrude>
[0..1]
<
kml :tessellate>
boolean </
kml :tessellate>
[0..1]
</
kml :Polygon>
Schema Component Representation
<
element
name ="
Polygon "
type ="
kml :PolygonType
"
substitutionGroup ="
kml:Geometry "/>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :Region
id="ID
[0..1] "
targetId="NCName
[0..1] " >
Start All
[1]
End All
</
kml :Region>
Schema Component Representation
<
element
name ="
Region "
type ="
kml :RegionType
"
substitutionGroup ="
kml:Object "/>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :Scale
id="ID
[0..1] "
targetId="NCName
[0..1] " >
Start All
[1]
<
kml :x>
double </
kml :x>
[0..1]
<
kml :y>
double </
kml :y>
[0..1]
<
kml :z>
double </
kml :z>
[0..1]
End All
</
kml :Scale>
Schema Component Representation
<
element
name ="
Scale "
type ="
kml :ScaleType
"
substitutionGroup ="
kml:Object "/>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :ScreenOverlay
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :name>
string </
kml :name>
[0..1]
<
kml :visibility>
boolean </
kml :visibility>
[0..1]
<
kml :open>
boolean </
kml :open>
[0..1]
<
kml :address>
string </
kml :address>
[0..1]
<
kml :phoneNumber>
string </
kml :phoneNumber>
[0..1]
<
kml :description>
string </
kml :description>
[0..1]
<
kml :drawOrder>
int </
kml :drawOrder>
[0..1]
<
kml :rotation>
float </
kml :rotation>
[0..1]
</
kml :ScreenOverlay>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :Style
id="ID
[0..1] "
targetId="NCName
[0..1] " >
</
kml :Style>
Schema Component Representation
<
element
name ="
Style "
type ="
kml :StyleType
"
substitutionGroup ="
kml:StyleSelector "/>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :StyleMap
id="ID
[0..1] "
targetId="NCName
[0..1] " >
</
kml :StyleMap>
Schema Component Representation
<
element
name ="
StyleMap "
type ="
kml :StyleMapType
"
substitutionGroup ="
kml:StyleSelector "/>
The following elements can be used wherever this element is referenced:
XML Instance Representation
<
kml :StyleSelector
id="ID
[0..1] "
targetId="NCName
[0..1] " />
The following elements can be used wherever this element is referenced:
XML Instance Representation
<
kml :TimePrimitive
id="ID
[0..1] "
targetId="NCName
[0..1] " />
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :TimeSpan
id="ID
[0..1] "
targetId="NCName
[0..1] " >
</
kml :TimeSpan>
Schema Component Representation
<
element
name ="
TimeSpan "
type ="
kml :TimeSpanType
"
substitutionGroup ="
kml:TimePrimitive "/>
This element can be used wherever the following element is referenced:
XML Instance Representation
<
kml :TimeStamp
id="ID
[0..1] "
targetId="NCName
[0..1] " >
</
kml :TimeStamp>
Schema Component Representation
<
element
name ="
TimeStamp "
type ="
kml :TimeStampType
"
substitutionGroup ="
kml:TimePrimitive "/>
Element: kml
XML Instance Representation
<
kml :styleUrl>
anyURI </
kml :styleUrl>
Schema Component Representation
<
attributeGroup
name ="
idAttributes ">
<attribute
name ="id " type ="
ID
" use ="optional "/>
<attribute
name ="targetId " type ="
NCName
" use ="optional "/>
</
attributeGroup >
Super-types:
ObjectType
< BalloonStyleType (by extension)
Sub-types:
None
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
Start Choice
[1]
'color deprecated in 2.1'
End Choice
<
kml :text>
string </
kml :text>
[0..1]
</...>
Schema Component Representation
<
complexType
name ="
BalloonStyleType "
final ="
#all ">
<
complexContent >
<
extension
base ="
kml :ObjectType
">
<
sequence >
<
choice >
<
element
name ="
color "
type ="
kml :color
"
minOccurs ="
0 "
default ="
ffffffff "/>
<
element
name ="
bgColor "
type ="
kml :color
"
minOccurs ="
0 "
default ="
ffffffff "/>
</
choice >
<
element
name ="
textColor "
type ="
kml :color
"
minOccurs ="
0 "
default ="
ff000000 "/>
<element
name ="text " type ="
string
" minOccurs ="0 "/>
</
sequence >
</
extension >
</
complexContent >
</
complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
Start Choice
[1..*]
'Any element ultimately derived from Object.'
End Choice
</...>
Schema Component Representation
<
complexType
name ="
ChangeType ">
<
choice
maxOccurs ="
unbounded ">
</
choice >
</
complexType >
Super-types:
ObjectType
< ColorStyleType (by extension)
Sub-types:
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
</...>
Schema Component Representation
<
complexType
name ="
ColorStyleType "
abstract ="
true ">
<
complexContent >
<
extension
base ="
kml :ObjectType
">
<
sequence >
<
element
name ="
color "
type ="
kml :color
"
minOccurs ="
0 "
default ="
ffffffff "/>
<
element
name ="
colorMode "
type ="
kml :colorModeEnum
"
minOccurs ="
0 "
default ="
normal "/>
</
sequence >
</
extension >
</
complexContent >
</
complexType >
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :name>
string </
kml :name>
[0..1]
<
kml :visibility>
boolean </
kml :visibility>
[0..1]
<
kml :open>
boolean </
kml :open>
[0..1]
<
kml :address>
string </
kml :address>
[0..1]
<
kml :phoneNumber>
string </
kml :phoneNumber>
[0..1]
<
kml :description>
string </
kml :description>
[0..1]
</...>
Schema Component Representation
<
complexType
name ="
ContainerType "
abstract ="
true ">
<
complexContent >
</
complexContent >
</
complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
complexType
name ="
CreateType ">
</
complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
complexType
name ="
DeleteType ">
<
sequence >
<
element
ref ="
kml :Feature
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
sequence >
</
complexType >
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :name>
string </
kml :name>
[0..1]
<
kml :visibility>
boolean </
kml :visibility>
[0..1]
<
kml :open>
boolean </
kml :open>
[0..1]
<
kml :address>
string </
kml :address>
[0..1]
<
kml :phoneNumber>
string </
kml :phoneNumber>
[0..1]
<
kml :description>
string </
kml :description>
[0..1]
</...>
Schema Component Representation
<
complexType
name ="
DocumentType "
final ="
#all ">
<
complexContent >
<
extension
base ="
kml :ContainerType
">
<
sequence >
<
element
ref ="
kml :Feature
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
sequence >
</
extension >
</
complexContent >
</
complexType >
Super-types:
ObjectType
< FeatureType (by extension)
Sub-types:
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :name>
string </
kml :name>
[0..1]
<
kml :visibility>
boolean </
kml :visibility>
[0..1]
<
kml :open>
boolean </
kml :open>
[0..1]
<
kml :address>
string </
kml :address>
[0..1]
<
kml :phoneNumber>
string </
kml :phoneNumber>
[0..1]
<
kml :description>
string </
kml :description>
[0..1]
</...>
Schema Component Representation
<
complexType
name ="
FeatureType "
abstract ="
true ">
<
complexContent >
<
extension
base ="
kml :ObjectType
">
<
sequence >
<element
name ="name " type ="
string
" minOccurs ="0 "/>
<element
name ="visibility " type ="
boolean
" default ="1 " minOccurs ="0 "/>
<element
name ="open " type ="
boolean
" default ="1 " minOccurs ="0 "/>
<element
name ="address " type ="
string
" minOccurs ="0 "/>
<element
name ="phoneNumber " type ="
string
" minOccurs ="0 "/>
<element
name ="description " type ="
string
" minOccurs ="0 "/>
</
sequence >
</
extension >
</
complexContent >
</
complexType >
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :name>
string </
kml :name>
[0..1]
<
kml :visibility>
boolean </
kml :visibility>
[0..1]
<
kml :open>
boolean </
kml :open>
[0..1]
<
kml :address>
string </
kml :address>
[0..1]
<
kml :phoneNumber>
string </
kml :phoneNumber>
[0..1]
<
kml :description>
string </
kml :description>
[0..1]
</...>
Schema Component Representation
<
complexType
name ="
FolderType "
final ="
#all ">
<
complexContent >
<
extension
base ="
kml :ContainerType
">
<
sequence >
<
element
ref ="
kml :Feature
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
sequence >
</
extension >
</
complexContent >
</
complexType >
Super-types:
ObjectType
< GeometryType (by extension)
Sub-types:
Schema Component Representation
<
complexType
name ="
GeometryType "
abstract ="
true ">
<
complexContent >
</
complexContent >
</
complexType >
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :name>
string </
kml :name>
[0..1]
<
kml :visibility>
boolean </
kml :visibility>
[0..1]
<
kml :open>
boolean </
kml :open>
[0..1]
<
kml :address>
string </
kml :address>
[0..1]
<
kml :phoneNumber>
string </
kml :phoneNumber>
[0..1]
<
kml :description>
string </
kml :description>
[0..1]
<
kml :drawOrder>
int </
kml :drawOrder>
[0..1]
<
kml :altitude>
double </
kml :altitude>
[0..1]
</...>
Schema Component Representation
<
complexType
name ="
GroundOverlayType "
final ="
#all ">
<
complexContent >
<
extension
base ="
kml :OverlayType
">
<
sequence >
<element
name ="altitude " type ="
double
" minOccurs ="0 " default ="0 "/>
<
element
name ="
altitudeMode "
type ="
kml :altitudeModeEnum
"
minOccurs ="
0 "
default ="
clampToGround "/>
</
sequence >
</
extension >
</
complexContent >
</
complexType >
Super-types:
ObjectType
< IconStyleIconType (by extension)
Sub-types:
None
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :href>
anyURI </
kml :href>
[1]
</...>
Schema Component Representation
<
complexType
name ="
IconStyleIconType ">
<
complexContent >
<
extension
base ="
kml :ObjectType
">
<
sequence >
<element
name ="href " type ="
anyURI
"/>
</
sequence >
</
extension >
</
complexContent >
</
complexType >
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :scale>
float </
kml :scale>
[0..1]
<
kml :heading>
float </
kml :heading>
[0..1]
</...>
Schema Component Representation
<
complexType
name ="
IconStyleType "
final ="
#all ">
<
complexContent >
<
extension
base ="
kml :ColorStyleType
">
<
sequence >
<element
name ="scale " type ="
float
" minOccurs ="0 " default ="1 "/>
<element
name ="heading " type ="
float
" minOccurs ="0 " default ="0 "/>
<
element
name ="
hotSpot "
type ="
kml :vec2Type
"
minOccurs ="
0 "/>
</
sequence >
</
extension >
</
complexContent >
</
complexType >
Super-types:
ObjectType
<
LinkType
(by extension) < IconType (by extension)
Sub-types:
None
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :href>
anyURI </
kml :href>
[0..1]
<
kml :refreshInterval>
float </
kml :refreshInterval>
[0..1]
<
kml :viewRefreshTime>
float </
kml :viewRefreshTime>
[0..1]
<
kml :viewBoundScale>
float </
kml :viewBoundScale>
[0..1]
<
kml :viewFormat>
string </
kml :viewFormat>
[0..1]
<
kml :httpQuery>
string </
kml :httpQuery>
[0..1]
</...>
Schema Component Representation
<
complexType
name ="
IconType "
final ="
#all ">
<
complexContent >
<
extension
base ="
kml :LinkType
">
<
sequence >
<element
name ="x " type ="
int
"/>
<element
name ="y " type ="
int
"/>
<element
name ="w " type ="
int
"/>
<element
name ="h " type ="
int
"/>
</
sequence >
</
extension >
</
complexContent >
</
complexType >
Super-types:
ObjectType
< ItemIconType (by extension)
Sub-types:
None
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :href>
anyURI </
kml :href>
[1]
</...>
Schema Component Representation
<
complexType
name ="
ItemIconType "
final ="
#all ">
<
complexContent >
<
extension
base ="
kml :ObjectType
">
<
sequence >
<element
name ="href " type ="
anyURI
"/>
</
sequence >
</
extension >
</
complexContent >
</
complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
Start All
[1]
End All
</...>
Schema Component Representation
<
complexType
name ="
KmlType "
final ="
#all ">
</
complexType >
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :scale>
float </
kml :scale>
[0..1]
</...>
Schema Component Representation
<
complexType
name ="
LabelStyleType "
final ="
#all ">
<
complexContent >
<
extension
base ="
kml :ColorStyleType
">
<
sequence >
<element
name ="scale " type ="
float
" minOccurs ="0 " default ="1 "/>
</
sequence >
</
extension >
</
complexContent >
</
complexType >
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :minAltitude>
double </
kml :minAltitude>
[0..1]
<
kml :maxAltitude>
double </
kml :maxAltitude>
[0..1]
</...>
Schema Component Representation
<
complexType
name ="
LatLonAltBoxType "
final ="
#all ">
<
complexContent >
<
extension
base ="
kml :LatLonBoxType
">
<
sequence >
<element
name ="minAltitude " type ="
double
" default ="0 " minOccurs ="0 "/>
<element
name ="maxAltitude " type ="
double
" default ="0 " minOccurs ="0 "/>
<
element
name ="
altitudeMode "
type ="
kml :altitudeModeEnum
"
minOccurs ="
0 "
default ="
clampToGround "/>
</
sequence >
</
extension >
</
complexContent >
</
complexType >
Super-types:
ObjectType
< LatLonBoxType (by extension)
Sub-types:
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
</...>
Schema Component Representation
<
complexType
name ="
LatLonBoxType ">
<
complexContent >
<
extension
base ="
kml :ObjectType
">
<
sequence >
<
element
name ="
north "
type ="
kml :angle180
"
minOccurs ="
0 "
default ="
180.0 "/>
<
element
name ="
south "
type ="
kml :angle180
"
minOccurs ="
0 "
default ="
-180.0 "/>
<
element
name ="
east "
type ="
kml :angle180
"
minOccurs ="
0 "
default ="
180.0 "/>
<
element
name ="
west "
type ="
kml :angle180
"
minOccurs ="
0 "
default ="
-180.0 "/>
<
element
name ="
rotation "
type ="
kml :angle180
"
default ="
0 "
minOccurs ="
0 "/>
</
sequence >
</
extension >
</
complexContent >
</
complexType >
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :extrude>
boolean </
kml :extrude>
[0..1]
<
kml :tessellate>
boolean </
kml :tessellate>
[0..1]
</...>
Schema Component Representation
<
complexType
name ="
LineStringType "
final ="
#all ">
<
complexContent >
</
complexContent >
</
complexType >
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :width>
float </
kml :width>
[0..1]
</...>
Schema Component Representation
<
complexType
name ="
LineStyleType "
final ="
#all ">
<
complexContent >
<
extension
base ="
kml :ColorStyleType
">
<
sequence >
<element
name ="width " type ="
float
" minOccurs ="0 " default ="1 "/>
</
sequence >
</
extension >
</
complexContent >
</
complexType >
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :extrude>
boolean </
kml :extrude>
[0..1]
<
kml :tessellate>
boolean </
kml :tessellate>
[0..1]
</...>
Schema Component Representation
<
complexType
name ="
LinearRingType "
final ="
#all ">
<
complexContent >
</
complexContent >
</
complexType >
Super-types:
ObjectType
< LinkType (by extension)
Sub-types:
Name
LinkType
Abstract
no
Documentation
Not final="#all" to show how IconType extended LinkType in KML 2.0.
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :href>
anyURI </
kml :href>
[0..1]
<
kml :refreshInterval>
float </
kml :refreshInterval>
[0..1]
<
kml :viewRefreshTime>
float </
kml :viewRefreshTime>
[0..1]
<
kml :viewBoundScale>
float </
kml :viewBoundScale>
[0..1]
<
kml :viewFormat>
string </
kml :viewFormat>
[0..1]
<
kml :httpQuery>
string </
kml :httpQuery>
[0..1]
</...>
Schema Component Representation
<
complexType
name ="
LinkType ">
<
complexContent >
<
extension
base ="
kml :ObjectType
">
<
sequence >
<element
name ="href " type ="
anyURI
" minOccurs ="0 "/>
<
element
name ="
refreshMode "
type ="
kml :refreshModeEnum
"
minOccurs ="
0 "
default ="
onChange "/>
<element
name ="refreshInterval " type ="
float
" minOccurs ="0 " default ="4 "/>
<element
name ="viewRefreshTime " type ="
float
" minOccurs ="0 " default ="4 "/>
<element
name ="viewBoundScale " type ="
float
" minOccurs ="0 " default ="1 "/>
<element
name ="viewFormat " type ="
string
" minOccurs ="0 "/>
<element
name ="httpQuery " type ="
string
" minOccurs ="0 "/>
</
sequence >
</
extension >
</
complexContent >
</
complexType >
Super-types:
ObjectType
< ListStyleType (by extension)
Sub-types:
None
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
</...>
Schema Component Representation
<
complexType
name ="
ListStyleType "
final ="
#all ">
<
complexContent >
<
extension
base ="
kml :ObjectType
">
<
sequence >
<
element
name ="
bgColor "
type ="
kml :color
"
minOccurs ="
0 "
default ="
ffffffff "/>
<
element
name ="
ItemIcon "
type ="
kml :ItemIconType
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
sequence >
</
extension >
</
complexContent >
</
complexType >
Super-types:
ObjectType
< LocationType (by extension)
Sub-types:
None
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
Start All
[1]
<
kml :altitude>
double </
kml :altitude>
[0..1]
End All
</...>
Schema Component Representation
<
complexType
name ="
LocationType "
final ="
#all ">
<
complexContent >
<
extension
base ="
kml :ObjectType
">
<
all >
<
element
name ="
longitude "
type ="
kml :angle180
"
minOccurs ="
0 "
default ="
0 "/>
<
element
name ="
latitude "
type ="
kml :angle90
"
minOccurs ="
0 "
default ="
0 "/>
<element
name ="altitude " type ="
double
" minOccurs ="0 " default ="0 "/>
</
all >
</
extension >
</
complexContent >
</
complexType >
Super-types:
ObjectType
< LodType (by extension)
Sub-types:
None
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
Start All
[1]
<
kml :minLodPixels>
float </
kml :minLodPixels>
[0..1]
<
kml :maxLodPixels>
float </
kml :maxLodPixels>
[0..1]
<
kml :minFadeExtent>
float </
kml :minFadeExtent>
[0..1]
<
kml :maxFadeExtent>
float </
kml :maxFadeExtent>
[0..1]
End All
</...>
Schema Component Representation
<
complexType
name ="
LodType "
final ="
#all ">
<
complexContent >
<
extension
base ="
kml :ObjectType
">
<
all >
<element
name ="minLodPixels " type ="
float
" minOccurs ="0 " default ="0 "/>
<element
name ="maxLodPixels " type ="
float
" minOccurs ="0 " default ="-1 "/>
<element
name ="minFadeExtent " type ="
float
" minOccurs ="0 " default ="0 "/>
<element
name ="maxFadeExtent " type ="
float
" minOccurs ="0 " default ="0 "/>
</
all >
</
extension >
</
complexContent >
</
complexType >
Super-types:
ObjectType
< LookAtType (by extension)
Sub-types:
None
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
Start All
[1]
<
kml :altitude>
double </
kml :altitude>
[0..1]
<
kml :range>
double </
kml :range>
[0..1]
End All
</...>
Schema Component Representation
<
complexType
name ="
LookAtType "
final ="
#all ">
<
complexContent >
<
extension
base ="
kml :ObjectType
">
<
all >
<
element
name ="
longitude "
type ="
kml :angle180
"
minOccurs ="
0 "
default ="
0 "/>
<
element
name ="
latitude "
type ="
kml :angle90
"
minOccurs ="
0 "
default ="
0 "/>
<element
name ="altitude " type ="
double
" minOccurs ="0 " default ="0 "/>
<element
name ="range " type ="
double
" minOccurs ="0 "/>
<
element
name ="
tilt "
type ="
kml :anglepos90
"
minOccurs ="
0 "
default ="
0 "/>
<
element
name ="
heading "
type ="
kml :angle360
"
minOccurs ="
0 "
default ="
0 "/>
<
element
name ="
altitudeMode "
type ="
kml :altitudeModeEnum
"
minOccurs ="
0 "
default ="
clampToGround "/>
</
all >
</
extension >
</
complexContent >
</
complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
Allow any elements from any namespace (lax validation). [1]
</...>
Schema Component Representation
<
complexType
name ="
MetadataType ">
<
sequence >
<any
namespace ="##any " processContents ="lax "/>
</
sequence >
</
complexType >
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
</...>
Schema Component Representation
<
complexType
name ="
ModelType "
final ="
#all ">
<
complexContent >
<
extension
base ="
kml :GeometryType
">
<
sequence >
<
element
name ="
altitudeMode "
type ="
kml :altitudeModeEnum
"
minOccurs ="
0 "
default ="
clampToGround "/>
<
element
ref ="
kml :Scale
"
minOccurs ="
0 "/>
<
element
ref ="
kml :Link
"
minOccurs ="
0 "/>
</
sequence >
</
extension >
</
complexContent >
</
complexType >
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
</...>
Schema Component Representation
<
complexType
name ="
MultiGeometryType "
final ="
#all ">
<
complexContent >
</
complexContent >
</
complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
Start All
[1]
<
kml :minRefreshPeriod>
float </
kml :minRefreshPeriod>
[0..1]
<
kml :cookie>
string </
kml :cookie>
[0..1]
<
kml :message>
string </
kml :message>
[0..1]
<
kml :linkName>
string </
kml :linkName>
[0..1]
<
kml :linkDescription>
string </
kml :linkDescription>
[0..1]
End All
</...>
Schema Component Representation
<
complexType
name ="
NetworkLinkControlType "
final ="
#all ">
<
all >
<element
name ="minRefreshPeriod " type ="
float
" default ="0 " minOccurs ="0 "/>
<element
name ="cookie " type ="
string
" minOccurs ="0 "/>
<element
name ="message " type ="
string
" minOccurs ="0 "/>
<element
name ="linkName " type ="
string
" minOccurs ="0 "/>
<element
name ="linkDescription " type ="
string
" minOccurs ="0 "/>
</
all >
</
complexType >
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :name>
string </
kml :name>
[0..1]
<
kml :visibility>
boolean </
kml :visibility>
[0..1]
<
kml :open>
boolean </
kml :open>
[0..1]
<
kml :address>
string </
kml :address>
[0..1]
<
kml :phoneNumber>
string </
kml :phoneNumber>
[0..1]
<
kml :description>
string </
kml :description>
[0..1]
<
kml :refreshVisibility>
boolean </
kml :refreshVisibility>
[0..1]
<
kml :flyToView>
boolean </
kml :flyToView>
[0..1]
Start Choice
[0..1]
'Url deprecated in 2.1.'
End Choice
</...>
Schema Component Representation
<
complexType
name ="
NetworkLinkType "
final ="
#all ">
<
complexContent >
<
extension
base ="
kml :FeatureType
">
<
sequence >
<element
name ="refreshVisibility " type ="
boolean
" default ="0 " minOccurs ="0 "/>
<element
name ="flyToView " type ="
boolean
" default ="0 " minOccurs ="0 "/>
<
choice
minOccurs ="
0 ">
</
choice >
</
sequence >
</
extension >
</
complexContent >
</
complexType >
Super-types:
None
Sub-types:
Schema Component Representation
<
complexType
name ="
ObjectType "
abstract ="
true ">
</
complexType >
Super-types:
ObjectType
< OrientationType (by extension)
Sub-types:
None
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
Start All
[1]
End All
</...>
Schema Component Representation
<
complexType
name ="
OrientationType "
final ="
#all ">
<
complexContent >
<
extension
base ="
kml :ObjectType
">
<
all >
<
element
name ="
heading "
type ="
kml :angle360
"
minOccurs ="
0 "
default ="
0.0 "/>
<
element
name ="
tilt "
type ="
kml :angle360
"
minOccurs ="
0 "
default ="
0.0 "/>
<
element
name ="
roll "
type ="
kml :angle360
"
minOccurs ="
0 "
default ="
0.0 "/>
</
all >
</
extension >
</
complexContent >
</
complexType >
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :name>
string </
kml :name>
[0..1]
<
kml :visibility>
boolean </
kml :visibility>
[0..1]
<
kml :open>
boolean </
kml :open>
[0..1]
<
kml :address>
string </
kml :address>
[0..1]
<
kml :phoneNumber>
string </
kml :phoneNumber>
[0..1]
<
kml :description>
string </
kml :description>
[0..1]
<
kml :drawOrder>
int </
kml :drawOrder>
[0..1]
</...>
Schema Component Representation
<
complexType
name ="
OverlayType "
abstract ="
true ">
<
complexContent >
<
extension
base ="
kml :FeatureType
">
<
sequence >
<
element
name ="
color "
type ="
kml :color
"
minOccurs ="
0 "
default ="
ffffffff "/>
<element
name ="drawOrder " type ="
int
" minOccurs ="0 " default ="0 "/>
<
element
ref ="
kml :Icon
"
minOccurs ="
0 "/>
</
sequence >
</
extension >
</
complexContent >
</
complexType >
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :name>
string </
kml :name>
[0..1]
<
kml :visibility>
boolean </
kml :visibility>
[0..1]
<
kml :open>
boolean </
kml :open>
[0..1]
<
kml :address>
string </
kml :address>
[0..1]
<
kml :phoneNumber>
string </
kml :phoneNumber>
[0..1]
<
kml :description>
string </
kml :description>
[0..1]
</...>
Schema Component Representation
<
complexType
name ="
PlacemarkType "
final ="
#all ">
<
complexContent >
</
complexContent >
</
complexType >
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :extrude>
boolean </
kml :extrude>
[0..1]
<
kml :tessellate>
boolean </
kml :tessellate>
[0..1]
</...>
Schema Component Representation
<
complexType
name ="
PointType "
final ="
#all ">
<
complexContent >
</
complexContent >
</
complexType >
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :fill>
boolean </
kml :fill>
[0..1]
<
kml :outline>
boolean </
kml :outline>
[0..1]
</...>
Schema Component Representation
<
complexType
name ="
PolyStyleType "
final ="
#all ">
<
complexContent >
<
extension
base ="
kml :ColorStyleType
">
<
sequence >
<element
name ="fill " type ="
boolean
" minOccurs ="0 " default ="1 "/>
<element
name ="outline " type ="
boolean
" minOccurs ="0 " default ="1 "/>
</
sequence >
</
extension >
</
complexContent >
</
complexType >
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :extrude>
boolean </
kml :extrude>
[0..1]
<
kml :tessellate>
boolean </
kml :tessellate>
[0..1]
</...>
Schema Component Representation
<
complexType
name ="
PolygonType "
final ="
#all ">
<
complexContent >
<
extension
base ="
kml :GeometryType
">
<
sequence >
<
element
name ="
innerBoundaryIs "
type ="
kml :boundaryType
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
sequence >
</
extension >
</
complexContent >
</
complexType >
Super-types:
ObjectType
< RegionType (by extension)
Sub-types:
None
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
Start All
[1]
End All
</...>
Schema Component Representation
<
complexType
name ="
RegionType "
final ="
#all ">
<
complexContent >
<
extension
base ="
kml :ObjectType
">
<
all >
<
element
ref ="
kml :Lod
"
minOccurs ="
0 "/>
</
all >
</
extension >
</
complexContent >
</
complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
complexType
name ="
ReplaceType ">
</
complexType >
Super-types:
ObjectType
< ScaleType (by extension)
Sub-types:
None
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
Start All
[1]
<
kml :x>
double </
kml :x>
[0..1]
<
kml :y>
double </
kml :y>
[0..1]
<
kml :z>
double </
kml :z>
[0..1]
End All
</...>
Schema Component Representation
<
complexType
name ="
ScaleType "
final ="
#all ">
<
complexContent >
<
extension
base ="
kml :ObjectType
">
<
all >
<element
name ="x " type ="
double
" minOccurs ="0 " default ="1.0 "/>
<element
name ="y " type ="
double
" minOccurs ="0 " default ="1.0 "/>
<element
name ="z " type ="
double
" minOccurs ="0 " default ="1.0 "/>
</
all >
</
extension >
</
complexContent >
</
complexType >
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
<
kml :name>
string </
kml :name>
[0..1]
<
kml :visibility>
boolean </
kml :visibility>
[0..1]
<
kml :open>
boolean </
kml :open>
[0..1]
<
kml :address>
string </
kml :address>
[0..1]
<
kml :phoneNumber>
string </
kml :phoneNumber>
[0..1]
<
kml :description>
string </
kml :description>
[0..1]
<
kml :drawOrder>
int </
kml :drawOrder>
[0..1]
<
kml :rotation>
float </
kml :rotation>
[0..1]
</...>
Schema Component Representation
<
complexType
name ="
ScreenOverlayType "
final ="
#all ">
<
complexContent >
<
extension
base ="
kml :OverlayType
">
<
sequence >
<
element
name ="
overlayXY "
type ="
kml :vec2Type
"
minOccurs ="
0 "/>
<
element
name ="
screenXY "
type ="
kml :vec2Type
"
minOccurs ="
0 "/>
<
element
name ="
rotationXY "
type ="
kml :vec2Type
"
minOccurs ="
0 "/>
<
element
name ="
size "
type ="
kml :vec2Type
"
minOccurs ="
0 "/>
<element
name ="rotation " type ="
float
" default ="0 " minOccurs ="0 "/>
</
sequence >
</
extension >
</
complexContent >
</
complexType >
Super-types:
string < SnippetType (by extension)
Sub-types:
None
Schema Component Representation
<
complexType
name ="
SnippetType "
final ="
#all ">
<
simpleContent >
<
extension
base ="
string
">
<attribute
name ="maxLines " type ="
int
" use ="optional " default ="2 "/>
</
extension >
</
simpleContent >
</
complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
Start All
[1]
End All
</...>
Schema Component Representation
<
complexType
name ="
StyleMapPairType "
final ="
#all ">
</
complexType >
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
</...>
Schema Component Representation
<
complexType
name ="
StyleMapType "
final ="
#all ">
<
complexContent >
</
complexContent >
</
complexType >
Super-types:
ObjectType
< StyleSelectorType (by extension)
Sub-types:
Schema Component Representation
<
complexType
name ="
StyleSelectorType "
abstract ="
true ">
<
complexContent >
</
complexContent >
</
complexType >
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
</...>
Schema Component Representation
<
complexType
name ="
StyleType "
final ="
#all ">
<
complexContent >
</
complexContent >
</
complexType >
Super-types:
ObjectType
< TimePrimitiveType (by extension)
Sub-types:
Schema Component Representation
<
complexType
name ="
TimePrimitiveType "
abstract ="
true ">
<
complexContent >
</
complexContent >
</
complexType >
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
</...>
Schema Component Representation
<
complexType
name ="
TimeSpanType ">
<
complexContent >
</
complexContent >
</
complexType >
XML Instance Representation
<...
id="ID
[0..1] "
targetId="NCName
[0..1] " >
</...>
Schema Component Representation
<
complexType
name ="
TimeStampType ">
<
complexContent >
</
complexContent >
</
complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
<
kml :targetHref>
anyURI </
kml :targetHref>
[1]
Start Choice
[1..*]
End Choice
</...>
Schema Component Representation
<
complexType
name ="
UpdateType ">
<
sequence >
<element
name ="targetHref " type ="
anyURI
" minOccurs ="1 "/>
<
choice
maxOccurs ="
unbounded ">
</
choice >
</
sequence >
</
complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
Start All
[1]
End All
</...>
Schema Component Representation
<
complexType
name ="
boundaryType "
final ="
#all ">
</
complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
complexType
name ="
vec2Type "
abstract ="
false "
final ="
#all ">
<attribute
name ="x " type ="
double
" default ="1.0 "/>
<attribute
name ="y " type ="
double
" default ="1.0 "/>
<
attribute
name ="
xunits "
type ="
kml :unitsEnum
"
use ="
optional "
default ="
fraction "/>
<
attribute
name ="
yunits "
type ="
kml :unitsEnum
"
use ="
optional "
default ="
fraction "/>
</
complexType >
XML Instance Representation
<
kml :extrude>
boolean </
kml :extrude>
[0..1]
<
kml :tessellate>
boolean </
kml :tessellate>
[0..1]
Schema Component Representation
<
group
name ="
geometryElements ">
<
sequence >
<element
name ="extrude " type ="
boolean
" minOccurs ="0 " default ="0 "/>
<element
name ="tessellate " type ="
boolean
" minOccurs ="0 " default ="0 "/>
<
element
name ="
altitudeMode "
type ="
kml :altitudeModeEnum
"
minOccurs ="
0 "
default ="
clampToGround "/>
</
sequence >
</
group >
Super-types:
None
Sub-types:
None
Name
CoordinatesType
Content
Schema Component Representation
<
simpleType
name ="
CoordinatesType ">
<list
itemType ="
string
"/>
</
simpleType >
Super-types:
string < altitudeModeEnum (by restriction)
Sub-types:
None
Name
altitudeModeEnum
Content
value comes from list: {'clampToGround'|'relativeToGround'|'absolute'}
Schema Component Representation
<
simpleType
name ="
altitudeModeEnum ">
<
restriction
base ="
string
">
<enumeration
value ="clampToGround "/>
<enumeration
value ="relativeToGround "/>
<enumeration
value ="absolute "/>
</
restriction >
</
simpleType >
Super-types:
double < angle180 (by restriction)
Sub-types:
None
Schema Component Representation
<
simpleType
name ="
angle180 ">
<
restriction
base ="
double
">
<minInclusive
value ="-180 "/>
<maxInclusive
value ="180 "/>
</
restriction >
</
simpleType >
Super-types:
double < angle360 (by restriction)
Sub-types:
None
Schema Component Representation
<
simpleType
name ="
angle360 ">
<
restriction
base ="
double
">
<minInclusive
value ="-360 "/>
<maxInclusive
value ="360 "/>
</
restriction >
</
simpleType >
Super-types:
double < angle90 (by restriction)
Sub-types:
None
Schema Component Representation
<
simpleType
name ="
angle90 ">
<
restriction
base ="
double
">
<minInclusive
value ="-90 "/>
<maxInclusive
value ="90.0 "/>
</
restriction >
</
simpleType >
Super-types:
double < anglepos90 (by restriction)
Sub-types:
None
Schema Component Representation
<
simpleType
name ="
anglepos90 ">
<
restriction
base ="
double
">
<minInclusive
value ="0.0 "/>
<maxInclusive
value ="90.0 "/>
</
restriction >
</
simpleType >
Simple Type: color
Super-types:
hexBinary < color (by restriction)
Sub-types:
None
Name
color
Content
Documentation
aabbggrr
ffffffff: opaque white
ff000000: opaque black
Schema Component Representation
<
simpleType
name ="
color ">
<
restriction
base ="
hexBinary
">
<length
value ="4 "/>
</
restriction >
</
simpleType >
Super-types:
string < colorModeEnum (by restriction)
Sub-types:
None
Name
colorModeEnum
Content
value comes from list: {'normal'|'random'}
Schema Component Representation
<
simpleType
name ="
colorModeEnum ">
<
restriction
base ="
string
">
<enumeration
value ="normal "/>
<enumeration
value ="random "/>
</
restriction >
</
simpleType >
Super-types:
None
Sub-types:
None
Name
dateTimeType
Content
Union of following types:
dateTime
date
gYearMonth
gYear
Schema Component Representation
<
simpleType
name ="
dateTimeType ">
<union
memberTypes ="dateTime date gYearMonth gYear "/>
</
simpleType >
Super-types:
string < itemIconStateEnum (by restriction)
Sub-types:
None
Name
itemIconStateEnum
Content
value comes from list: {'open'|'closed'|'error'|'fetching0'|'fetching1'|'fetching2'}
Schema Component Representation
<
simpleType
name ="
itemIconStateEnum ">
<
restriction
base ="
string
">
<enumeration
value ="open "/>
<enumeration
value ="closed "/>
<enumeration
value ="error "/>
<enumeration
value ="fetching0 "/>
<enumeration
value ="fetching1 "/>
<enumeration
value ="fetching2 "/>
</
restriction >
</
simpleType >
Super-types:
None
Sub-types:
None
Name
itemIconStateType
Content
Schema Component Representation
<
simpleType
name ="
itemIconStateType ">
</
simpleType >
Super-types:
string < listItemTypeEnum (by restriction)
Sub-types:
None
Name
listItemTypeEnum
Content
value comes from list: {'radioFolder'|'check'|'checkHideChildren'|'checkOffOnly'}
Schema Component Representation
<
simpleType
name ="
listItemTypeEnum ">
<
restriction
base ="
string
">
<enumeration
value ="radioFolder "/>
<enumeration
value ="check "/>
<enumeration
value ="checkHideChildren "/>
<enumeration
value ="checkOffOnly "/>
</
restriction >
</
simpleType >
Super-types:
string < refreshModeEnum (by restriction)
Sub-types:
None
Name
refreshModeEnum
Content
value comes from list: {'onChange'|'onInterval'|'onExpire'}
Schema Component Representation
<
simpleType
name ="
refreshModeEnum ">
<
restriction
base ="
string
">
<enumeration
value ="onChange "/>
<enumeration
value ="onInterval "/>
<enumeration
value ="onExpire "/>
</
restriction >
</
simpleType >
Super-types:
string < styleStateEnum (by restriction)
Sub-types:
None
Name
styleStateEnum
Content
value comes from list: {'normal'|'highlight'}
Schema Component Representation
<
simpleType
name ="
styleStateEnum ">
<
restriction
base ="
string
">
<enumeration
value ="normal "/>
<enumeration
value ="highlight "/>
</
restriction >
</
simpleType >
Super-types:
string < unitsEnum (by restriction)
Sub-types:
None
Name
unitsEnum
Content
value comes from list: {'fraction'|'pixels'|'insetPixels'}
Schema Component Representation
<
simpleType
name ="
unitsEnum ">
<
restriction
base ="
string
">
<enumeration
value ="fraction "/>
<enumeration
value ="pixels "/>
<enumeration
value ="insetPixels "/>
</
restriction >
</
simpleType >
Super-types:
string < viewRefreshModeEnum (by restriction)
Sub-types:
None
Name
viewRefreshModeEnum
Content
value comes from list: {'never'|'onRequest'|'onStop'|'onRegion'}
Schema Component Representation
<
simpleType
name ="
viewRefreshModeEnum ">
<
restriction
base ="
string
">
<enumeration
value ="never "/>
<enumeration
value ="onRequest "/>
<enumeration
value ="onStop "/>
<enumeration
value ="onRegion "/>
</
restriction >
</
simpleType >
Complex Type:
Schema Component Type
AusAddress
Schema Component Name
Super-types:
Address < AusAddress (by extension)
Sub-types:
QLDAddress (by restriction)
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
The table above displays the properties of this schema component.
XML Instance Representation
<...
country="Australia "
>
<unitNo> string </unitNo> [0..1]
<houseNo> string </houseNo> [1]
<street> string </street> [1]
Start Choice
[1]
<city> string </city> [1]
<town> string </town> [1]
End Choice
<state> AusStates </state> [1]
<postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1]
?
</...>
The XML Instance Representation table above shows the schema component's content as an XML instance.
The minimum and maximum occurrence of elements and attributes are provided in square brackets, e.g. [0..1].
Model group information are shown in gray, e.g. Start Choice ... End Choice.
For type derivations, the elements and attributes that have been added to or changed from the base type's content are shown in bold .
If an element/attribute has a fixed value, the fixed value is shown in green, e.g. country="Australia".
Otherwise, the type of the element/attribute is displayed.
If the element/attribute's type is in the schema, a link is provided to it.
For local simple type definitions, the constraints are displayed in angle brackets, e.g. <<pattern = [1-9][0-9]{3}>>.
If a local element/attribute has documentation, it will be displayed in a window that pops up when the question mark inside the attribute or next to the element is clicked, e.g. <postcode>.
Schema Component Representation
<complexType
name ="AusAddress ">
<complexContent >
<extension
base ="
Address
">
<sequence >
<element
name ="state " type ="
AusStates
"/>
<element
name ="postcode ">
<simpleType >
<restriction
base ="
string
">
<pattern
value ="[1-9][0-9]{3} "/>
</restriction >
</simpleType >
</element >
</sequence >
<attribute
name ="country " type ="
string
" fixed ="Australia "/>
</extension >
</complexContent >
</complexType >
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)
Abstract
(Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.
All Model Group
Child elements can be provided in any order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-all .
Choice Model Group
Only one from the list of child elements and model groups can be provided in instances. See: http://www.w3.org/TR/xmlschema-1/#element-choice .
Collapse Whitespace Policy
Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.
Disallowed Substitutions
(Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods , e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type attribute.
Key Constraint
Like Uniqueness Constraint , but additionally requires that the specified value(s) must be provided. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions .
Key Reference Constraint
Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint . See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions .
Model Group
Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: http://www.w3.org/TR/xmlschema-1/#Model_Groups .
Nillable
(Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil attribute. The xsi:nil attribute is the boolean attribute, nil , from the http://www.w3.org/2001/XMLSchema-instance namespace. If an element instance has an xsi:nil attribute set to true, it can be left empty, even though its element declaration may have required content.
Notation
A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations .
Preserve Whitespace Policy
Preserve whitespaces exactly as they appear in instances.
Prohibited Derivations
(Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.
Prohibited Substitutions
(Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.
Replace Whitespace Policy
Replace tab, line feed, and carriage return characters with space character (Unicode character 32).
Sequence Model Group
Child elements and model groups must be provided in the specified order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-sequence .
Substitution Group
Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.
Substitution Group Exclusions
(Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.
Target Namespace
The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.
Uniqueness Constraint
Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions .