(root, question, response, xmlns=None)
return False
Given a form submission's xml root, updates the response for an individual question.
    Question and response are both strings; see XFormQuestionValueIterator for question format.
Given a form submission's xml root, updates the response for an individual question.
    Question and response are both strings; see XFormQuestionValueIterator for question format.
Given a form submission s xml root updates the response for an individual question . Question and response are both strings ; see XFormQuestionValueIterator for question format .
def update_response(root, question, response, xmlns=None):
    '''
    Given a form submission's xml root, updates the response for an individual question.
    Question and response are both strings; see XFormQuestionValueIterator for question format.
    '''
    node = get_node(root, question, xmlns)
    if node.text != response:
        node.text = response
        return True
    return False
def update_response ( root , question , response , xmlns = None ) : node = get_node ( root , question , xmlns ) if node . text != response : node . text = response return True return False