Hi, recently having discovered ElementTree I'm stumped by a very simple problem, which I can't find the answer to.
I have some XML in a string object. Now the parse() method of ElementTree takes a filename or file-like object. So I tried creating a StringIO object from the original string and then giving that to parse(). But that does not seem to work. Any pointers to getting ElementTree to parse from a string would be appreciated (of course I could dump it to a temp file, but that doesn't seem elegent) Thanks, Rajarshi -- http://mail.python.org/mailman/listinfo/python-list