libkml is a library for use with applications that want to parse, generate and operate on KML. It is an implementation of the OGC KML 2.2 standard. WWW: http://code.google.com/p/libkml/