xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Round trip: Binary -> XML -> Binary


Subject: RE: [xsl] Round trip: Binary -> XML -> Binary
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Tue, 25 Jun 2002 08:38:06 +0100

> 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.

Most of the Java XSLT processors allow you to feed the result tree
directly into a user-written SAX ContentHandler, from which you can
serialize it any way you like.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


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



Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor