def create_reply(elem):
    """ switch the 'to' and 'from' attributes to reply to this element """
    # NOTE - see domish.Element class to view more methods
    frm = elem['from']
    elem['from'] = elem['to']
    elem['to'] = frm
    return elem