human
Complete this python program:
def fromXMLname(string):
assistant
#Here is the Python code you requested.

    """Convert XML name to unicode string.
    """
    retval = sub('_xFFFF_', '', string)
    def fun(matchobj):
        return _fromUnicodeHex(matchobj.group(0))
    retval = sub('_x[0-9A-Za-z]+_', fun, retval)
    return retval