Having minimal experience with XML, and none whatsoever with KML, I try to find something along the lines of what a program expects when reading a KML file.
I'm writing some software to generate a KML file, but when I try to open said file in Google Earth, I get this error:
Open of file "C:/blahblah/myFile.kml" failed: Parse error at line 21, column 0:
junk after document element
I have reduced myFile down to the following, with the same error.
<? xml version="1.0" encoding="utf-8"?>
<Placemark>
</Placemark>
<Placemark>
</Placemark>
Am I missing something some required element? Is there a section of the standard I may have missed that deals with how to properly form a KML file?