diff --git a/lib/OpenLayers/Format/KML.js b/lib/OpenLayers/Format/KML.js
index <HASH>..<HASH> 100644
--- a/lib/OpenLayers/Format/KML.js
+++ b/lib/OpenLayers/Format/KML.js
@@ -214,7 +214,8 @@ OpenLayers.Format.KML = OpenLayers.Class(OpenLayers.Format.XML, {
                                                        "coordinates");
             var line = null;
             if(nodeList.length > 0) {
-                var coordString = nodeList[0].firstChild.nodeValue;
+                var coordString = this.concatChildValues(nodeList[0]);
+
                 coordString = coordString.replace(this.regExes.trimSpace,
                                                   "");
                 coordString = coordString.replace(this.regExes.trimComma,
Apply a fix to KML format to support > 4k characters in a linestring. 
(Closes #<I>)


git-svn-id: <URL>