def xhtml_escape(value):
    return saxutils.escape(value, {'"': '&quot;', "'": '&apos;'})
Escapes a string so it is valid within XML or XHTML.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/utils.py/xhtml_escape