Robert Valentino Well-Known Member Licensed User Longtime User Mar 25, 2015 #1 Does anyone have a good way of parsing KML files. Attached is a KML file that I had to rename to txt to upload. If you rename it to KML and open it in Google Earth you will see how I layout the locations of my local golf courses. Right now I am parsing the file using brute force and want to be able to parse something a user creates (if possible) and not have to parse based on knowing what I think is coming in. BobVal Attachments GolfCourses-2015 .txt GolfCourses-2015 .txt 142.2 KB · Views: 595
Does anyone have a good way of parsing KML files. Attached is a KML file that I had to rename to txt to upload. If you rename it to KML and open it in Google Earth you will see how I layout the locations of my local golf courses. Right now I am parsing the file using brute force and want to be able to parse something a user creates (if possible) and not have to parse based on knowing what I think is coming in. BobVal
NJDude Expert Licensed User Longtime User Mar 25, 2015 #2 You could try the XMLSax or XOM parser Upvote 0
giga Well-Known Member Licensed User Longtime User Mar 25, 2015 #3 Have you tried the XML Parser?https://www.b4x.com/android/forum/threads/xml-parsing-with-the-xmlsax-library.6866/ kml have the same structure as xml. Upvote 0
Have you tried the XML Parser?https://www.b4x.com/android/forum/threads/xml-parsing-with-the-xmlsax-library.6866/ kml have the same structure as xml.