To display XML text in a ML text file, you should use the CDATA tag:
CDATA - Wikipedia[
^]
XML - CDATA Sections - Tutorialspoint[
^]
<table><tbody><tr><td>Heading1</td> <td>Heading2</td> <td>Heading 3</td></tr><tr><td>value 1</td> <td>value 2</td><td>
<![CDATA[<arrayofmenu_bo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<menu_bo>
<id>2</id>
<createdby>0</createdby>
<createdon>0001-01-01T00:00:00</createdon>
<modifiedby>0</modifiedby>
</menu_bo>
]]>
</td></tr></tbody></table>
Note that I added in bold closing tags which were missing from the XML text you provided.