You can create an overlay with GgeoXml:

   var kml = new GGeoXml("http://mydomain.com/myfile.kml");
   map.addOverlay(kml