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)
-> - Stylus Studio - Registrar en o... (1)
-> + Stylus Studio - Registrar en o... (2)
-> + Can a pipeline send a file by ... (2)
-> + After Updateing WIN10 to WIN11... (12)
-> + Where do I add the custom java... (3)
-> + Where is the Diagram tab? (5)
-> + Applying XSLT to Word DOCX/XML (2)
-> - CSV conversion via ConvertToXM... (1)
-> + Text symbols in SS not same as... (4)
-> + Exposing xquery as webservice ... (6)
-> + Syntax Identifier (2)
-> + Saving a Converted XML as an X... (5)
-> + Output document cannot be pars... (4)
-> - Archiving output from conversi... (1)
-> + EDIFACT guideline from Stylus ... (3)
-> + CSV file putting all the data ... (5)
-> + Can't install Home version 64b... (5)
-> + presale - Can I covers this sc... (5)
-> + Problem with UNB (5)
-> + Splitting EDIFACT files pipeli... (4)
-- [1-20] [21-40] [41-60] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2016)
+ 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.