> Sorry, the result of the ext.PrettyPrint is : > > > test_xml = """<?xml version='1.0' encoding='ISO-8859-1'?> > <item_20001204_035952> > <one> > <caption>a test caption</caption> > </one> > some test data > </item_20001204_035952> > > > the CDATA escaping has disappeared Yes, and why is this incorrect? The two documents are equal. Regards, Martin