I will review this, but I have my program working without it. It would
generation. I wrote the program to avoid hand editing.
I did patch sources to make input handling of cdata consistent. I am
On Jan 19, 6:36 pm, Tyler Erickson <
tylerick...@gmail.com> wrote:
> Coincidentally, I just pushed changes related to this a couple of
> hours ago.
>
> The underlying lxml library escapes out CDATA when constructing
> elements (although it lets you parse XML and preserve CDATA... I am
> not sure why it is not consistent). The approach I have taken to
> address this issue is to postprocess the KML once you have converted
> it to a string. I have added a utility method that does this
> (pykml.util.format_as_cdata) and there are tests that illustrate its
> usage (pykml.test.test_util.KmlUtilTestCase.test_convert_csv_to_kml).
>