def _tree_to_binary_body(self, tree):
<EOL>body = BytesIO()<EOL>tree.write(body)<EOL>body = body.getvalue()  <EOL>body = b'<STR_LIT>' + body<EOL>assert is_bytes(body)<EOL>return body<EOL>
Return tree content as xml bytestring.