def _strip_control_section_from_pnx(pnx_xml):
    """ We must strip the control section from a PNX record before re-inserting it """
    for control_section in pnx_xml.findall('control'):
        pnx_xml.remove(control_section)
    return(pnx_xml)