Hi! cgi.escape() does not quote " or ' I think it would be nice if it would do so, because this would allow quoting of attributes, too. xml.sax.saxutils.quoteattr() can be used, too. But it magicalley adds the quotes. Is there a method in the standard library which quotes " and ', too? thomas