[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Round trip: Binary -> XML -> Binary

Subject: Round trip: Binary -> XML -> Binary
From: Brian Grainger <granam@xxxxxxx>
Date: Mon, 24 Jun 2002 21:31:37 -0600
xsl round
I have an XML file which is derived from a binary data file. I wrote a custom parser which reads the binary file and outputs XML. The reason for the transform is to allow for storage of the file in an XML database such as Xindice or Tamino. This permits searches within the structure of the file, rather than just searches based on external attributes such as name, size, etc.

I would now like to be able to round-trip the file back to its original binary state. My thought is to use an output method of 'text' and emit base64-encoded data which can then be decoded by a base64 utility back to the original binary.

Is there a way to emit binary directly? I'm not aware of any but wanted to ask just in case.

Regards,
Brian


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.