def METHOD_NAME(argv=None):
    if argv is None:
        argv = sys.argv
    in_doc = False
    xml_fragment = []
    xml = []
    line_number = 0
    for line in sys.stdin:
        # Note: multiple places may have to read a line, so iterating over
        # readlines isn't possible.  Break when a null line is returned
        line_number += 1
        if not line:
            break
        line = line.strip()
        if ("/*** DOCUMENTATION" in line):
            in_doc = True
        elif ("***/" in line and in_doc):
            # Depending on what we're processing, determine if we need to do
            # any additional work
            in_doc = False
            if not xml_fragment:
                # Nothing read, move along
                continue
            if "<managerEventInstance>" in xml_fragment[0]:
                xml.append(parse_manager_event_instance(xml_fragment))
            else:
                xml.append(''.join(xml_fragment))
            xml_fragment = []
        elif (in_doc):
            xml_fragment.append("%s\n" % line)
    sys.stdout.write(''.join(xml))
    return 0