def METHOD_NAME(self, comments_data=[]):
    # Assemble and write the XML file.
    # Write the XML declaration.
    self._xml_declaration()
    # Write the comments element.
    self._write_comments()
    # Write the authors element.
    self._write_authors(comments_data)
    # Write the commentList element.
    self._write_comment_list(comments_data)
    self._xml_end_tag('comments')
    # Close the file.
    self._xml_close()