Sorry Ko Ko Naing, but I did not get it. You suggested:
<metadata>
... lots of XML metadata about size, names, dimensions, vectors, etc. ...
</metadata>
<BLOB>
... whopping big chunk of binary data representing IEEE doubles ...
</BLOB>
What do you mean by the "whopping big chunk of binary data"?
Is it a
string of charachters? Is it at array of integers
representing each byte in the binary data?
How you can represent in XML something which is not ASCII character?
Jacob Nikom