The unescaping is usually done for you by the xml parser that you use.
Usually, but not in this case. If you have a text that looks like XML, and you want to put it into an XML element, the XML file uses < and >. The XML parser unescapes that as < and >. However, it does not then consider the < and > as markup, and it shouldn't.
Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list