I wonder why not to use [xml.sax.saxutils.escape][1] instead of private functions?

[1]: http://docs.python.org/2/library/xml.sax.utils.html#xml.sax.saxutils.escape