Nov-21-2020, 01:22 AM
We know
Depending on the XML, the contents of
doc
is a dictionary. We don't know what key
is, since we can't see your data (but it appears to be a string).Depending on the XML, the contents of
doc['kml']['Document']['Placemark']
might be other datastructures that you can modify or just strings which you can't. Can you show the relevant section of the xml file?