XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Hyoku KangSubject: 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.

Best,
Daniel



Postnext
Tony LavinioSubject: How to open (or decompress) a Binary XML file
Author: Tony Lavinio
Date: 23 Feb 2009 08:21 AM
What method, mechanism or software was used to do the compression?
Do you have a link to that?

Posttop
Hyoku KangSubject: 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.

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.