Subject:How to open (or decompress) a Binary XML file Author:Hyoku Kang Date:20 Feb 2009 07:41 PM
Hi,
I read the previous threads on this but I think this question is somewhat different from (Binary)<->(XML), since this is (Binary XML)<->(XML). Correct me if I'm wrong, but the binary_xml.html link on the homepage doesn't help me extract the necessary data.
The whole story goes like this. The server saves data as a XML file and compresses it as binary file to reduce the size of the file. In order to read the file I need to decompress it. (The header contains the size of the data, and other necessary data information)
The questions are:
1. I tried to open the file using "Convert to XML" option in the menu, but it only showed garbage data indicating it tried to show the binary data but in a invalid format (= not a readable information). Is there another menu option that I don't know?
2. I read that I can convert the binary with Base64, and I tried that. indeed it changed the binary to ASCII code, but it was someting like "APODASDJAKJDLAKSDA..." and I couldn't read any valid data such as "ATLANTA, 256 MILES" in XML format. Do I need to do something extra such as change the ASCII to XML? How would I do that?
I've been trying to solve this for 2 days now. Plz help me on this.
Subject:How to open (or decompress) a Binary XML file Author:Hyoku Kang Date:27 Feb 2009 01:59 AM Originally Posted: 27 Feb 2009 01:58 AM
After a couple of days' struggling, I was able to solve the problem. No commercial software is built for these kind of operations yet, since no standard can exist at the moment. I had to code in c, and specify each method according to how the compression of binary XML had been performed. Thanks for trying to help me though.