/// <summary>
 /// Initializes a new KML <c>&lt;MultiGeometry&gt;</c> element.
 /// </summary>
 /// <param name="xml">The XML element the document should be based on.</param>
 /// <param name="namespaces">The XML namespace.</param>
 protected KmlMultiGeometry(XElement xml, XmlNamespaceManager namespaces)
 {
     Children = KmlUtils.ParseGeometryChildren(xml, namespaces).ToList();
 }
 /// <summary>
 /// Initializes a new KML <c>&lt;Document&gt;</c> element.
 /// </summary>
 /// <param name="xml">The XML element the document should be based on.</param>
 /// <param name="namespaces">The XML namespace.</param>
 protected KmlPlacemark(XElement xml, XmlNamespaceManager namespaces) : base(xml, namespaces)
 {
     ExtendedData = xml.GetElement("kml:ExtendedData", namespaces, KmlExtendedData.Parse);
     Geometry     = KmlUtils.ParseGeometryChildren(xml, namespaces).FirstOrDefault();
 }