<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parse_xml(data, handle_units):
 """Parse XML data returned by NCSS."""

    root = ET.fromstring(data)
    return squish(parse_xml_dataset(root, handle_units))