human
What is a the Python code you requested given the following:
Complete the below
def fromXMLname(string):

    ''''Convert XML name to unicode string.'
    '''
assistant
#Here is the Python code you requested.
    retval = sub('_xFFFF_', '', string)
    def fun(matchobj):
        return _fromUnicodeHex(matchobj.group(0))
    retval = sub('_x[0-9A-Za-z]+_', fun, retval)
    return retval