"Fredrik Lundh" <fredrik@pythonware.com> writes: > ...and pray that nobody will ever pass in a string containing reserved > xml characters, or non-ascii data, or a unicode string... There might be no need to pray, depending on your application. Regards, Martin