getting text out of an xml string

björn lundin b.f.lundin at gmail.com
Sat Mar 5 17:27:10 EST 2011


> Next time you need to extract some data from an xml file, please (for
> your own good) don't do whatever you did in that code -- note that the
> unicode equivalent of "<" is u"\u003c", NOT u"\u3c00"; I wasn't joking
> when I said it had been FU.

Is that perhaps the doing of going from littleEndian to bigEndian
(or vice versa) machines with that file, in some kind of strange
binary mode?
/björn



More information about the Python-list mailing list