kml namespace breaks simplexml

46 views
Skip to first unread message

ianckc

unread,
May 23, 2008, 11:02:27 AM5/23/08
to KML Developer Support - KML Server Side Scripting
I have a kml file with lots of placemark tags in. The overall aim is
to extract each of these placemarks and create an individual kml file
for each one.

I am using php's simplexml and have come across a problem.

Everything works fine if I just use a plain kml tag like this

<kml>

but if iadd the namespace in like this

<kml xmlns="http://earth.google.com/kml/2.2">

it stops the script from working.

I don't get any error message just a blank screen.

Does anyone have any ideas on what the problem could be?

Thnaks

nicodemussunrise

unread,
May 25, 2008, 11:32:40 PM5/25/08
to KML Developer Support - KML Server Side Scripting
Could you upload a sample file?

-ns
Reply all
Reply to author
Forward
0 new messages