killkolor wrote: >> Does InDesign export broken XML documents? What exactly is your problem? > > yes, unfortunately it does. it uses all possible unicode characters, > though not all are alowed in valid xml (see link in the first post). > in any way for my application i should be checking if the xml that > comes in is valid and replace all non-valid characters. is there > something out there to do this?
I doubt it. Dealing with broken XML is nothing standard-modules should cope with. The link you provided has all you need - why not just use it? Diez -- http://mail.python.org/mailman/listinfo/python-list