On Wednesday 12 December 2007 12:36, [EMAIL PROTECTED] wrote:
> Has anyone written an XML to binary converter that they'd be willing to
> share?
>
> I am told that XML represents images as text using 64 characters
> {A-Z,a-z,0-9,+,/} and = for padding.  My sense is that it ought to be
> relatively straight forward to write an icon procedure to translate such a
> text representation back into binary.
>

This sounds like base 64 encoding - probably inside XML CDATA elements.  There 
are some base64 decoding routines in the icon program library 
(ipl/procs/base64.icn), so if you could parse the XML and extract the base 64 
data, you could get the binary string out.

Hope this helps

-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to