i want to generate some kml string to stroe into database ..
and has any simply way to generate this string ?
thanks
i want to generate some kml string to stroe into database ..
and has any simply way to generate this string ?
thanks
What do you mean kml string, isnt it an xml file like the one below?
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2">
<Placemark>
<name>Stonehenge, England</name>
<description>Stonehenge was built about 2500BC
</description>
<Point>
<coordinates>-1.826752,51.179045
</coordinates>
</Point>
</Placemark>
</kml>
In which case you can use
XmlDocument xmlDoc = new XmlDocument();
etc