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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> + Help with XSL to transform two... (4)
-> + connect to xhive (2)
-> - element id and name attributes... (1)
-> - http://www.w3.org/2001/XMLSche... (1)
-> + Error message when converting ... (2)
-> + XML id and anyuri datatype (2)
-> - import xml into an ms acces... (1)
-> + Change version (6)
-> + Translate two files into one (3)
-> + invalid relative uri with data... (7)
-> + My table crashes java Runtime (5)
-> + inx to pdf (3)
-> + XSD - multiple similar namespa... (7)
-> + validating many xml files (4)
-> + Stylesheet Parameters (3)
-> + create web service using Stylu... (2)
-> + connect with sql server (4)
-> + License could not be validated... (2)
-> - How to open (or decompress) a ... (3)
-> ->How to open (or decompres...
-> ->How to open (or decompres...
-> + Stylus Studio 2009 Home & Java (4)
-- Previous [841-860] [861-880] [881-900] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
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.

   
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.