๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #266

Re: Raw data in XML

#266
From: Tor Iver Wilhelmsen (TeamB)
Date: Tue, 23 Mar 2004 08:08
7 lines
1193 bytes
"Peter Th๏ฟฝnell" <thonellp@optusnet.com.au> writes:

> I would like to store and retrieve byte arrays (byte[]) in attributes in XML
> files.  How do I convert the data to be XML friendly, and then back again?

Using Base 64 encoding seems to be most common. There shold be some
classes for that type of work in some of the standard packages.
Technical Details
Message-ID: <uptb4f0jx.fsf@ergo.no>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <405fa979$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 1089d0,35102fc643fbb58e
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2004-03-23 00:09:30 PST
Sender: towi@SDSA4902
Newsgroups: borland.public.jbuilder.java.api
Subject: Re: Raw data in XML
References: <405fa979$1@newsgroups.borland.com>
From: tor.wilhelmsen@ergo.no (Tor Iver Wilhelmsen (TeamB))
Date: 23 Mar 2004 09:08:18 +0100
Message-ID: <uptb4f0jx.fsf@ergo.no>
Lines: 7
X-Newsreader: Gnus v5.7/Emacs 20.7
NNTP-Posting-Host: 139.105.130.109
X-Trace: newsgroups.borland.com 1080029296 139.105.130.109 (23 Mar 2004 00:08:16 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail