I want to parse my XML document. So I have stored my XML document as below
class XMLdocs(db.Expando): id = db.IntegerProperty() name=db.StringPro
The problem is that you're trying to print an unicode character to a possibly non-unicode terminal. You need to encode it with the 'replace option before printing it, e.g. print ch.encode(sys.stdout.encoding, 'replace').
'replace
print ch.encode(sys.stdout.encoding, 'replace')