Charles,
I recall there was some XML code in Unicon, but I never had time to get past
the learning curve. It's a package or directory.
I suspect Charles is right about it being base64. There is probably a RFC
that'll give a definitive answer.
Another way to parse the xml is with a XLST, there are some command line
translators for Unix and one for Windows, that should do. XLST has it;s own
learning curve though.
David
----- Original Message ----
From: Robert Parlett <[EMAIL PROTECTED]>
To: [email protected]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, December 12, 2007 7:57:42 AM
Subject: Re: [Unicon-group] XML to binary converter
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
-------------------------------------------------------------------------
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