Subject:Base 64 encoded data embedded in XML in PHP Author:momlee post Date:27 Sep 2006 10:15 AM
Background: I have an XML string Base 64 encoded
How to convert the XML extract the data to convert from base 64 to binary to get the actual .png file.
We have use linux server with php code ?
Thanks
Leela
Subject:Base 64 encoded data embedded in XML in PHP Author:Tony Lavinio Date:27 Sep 2006 12:54 PM
You can use the base-64 adapter in Stylus Studio.
If you write base-64 through it, the output will be binary.
If you had a file that looked like this:
<list>
<item name="image.gif">.....base64data.....</item>
</list>
and you ran the following program on it, you would get
one binary file for each <item> element.