Hi,

 

I have an app that saves its documents in XML format. Among other stuff, it has to save matrices (floating point format). In order to embed binary content in an XML document, I�m encoding the binary data in Base64. This works fine if the data matrix is not larger than 2048x2048. With higher dimensions (e.g. 4096x4096), the encoding/coding process takes too long and it is too memory consuming as well.

Is there a better approach to deal with binary content in a XML document?

I�m considering two options:

(1) Save the binary information in a separate binary file, The XML file will simply include a link to this file.

(2) Would it be possible to save the binary information in a CDATA section?  

 

Thanks,

Carlos

_______________________________________________
msvc mailing list
[EMAIL PROTECTED]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription 
changes, and list archive.

Reply via email to