Hi i want send via socket xml like this.
<root>
<image ID='2'>
<![CDATA[ binary data with image ]]>
</image>
</root>
I have problem because image is binary data and other part is string. I am sending multiple images and i need to have ID.
The main problem is what to do with binary data and string data. I tried to convert image to str but i cant revert this.