From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,218b3332778031f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-15 01:31:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: A little database Date: Fri, 15 Nov 2002 09:31:04 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3dd49c15$0$303$bed64819@news.gradwell.net> NNTP-Posting-Host: kiuk0152.chembio.ntnu.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: tyfon.itea.ntnu.no 1037352664 24518 129.241.83.78 (15 Nov 2002 09:31:04 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Fri, 15 Nov 2002 09:31:04 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:30922 Date: 2002-11-15T09:31:04+00:00 List-Id: Victor Porton wrote: > I want to keep a little database (containing information about several > Web sites) on the disk. > > It is desirable (but not necessary) to have the file format > portable among platforms and compilers (however I use only GNAT). > > In your opinion, All, should I use XML or just 'Read/'Write etc. > attributes? Or may be there are a special Ada library for such small > databases in disk files? > > Well, the database shall be editable by the user with my GUI. You can use the XML/Ada library : http://libre.act-europe.fr/xmlada/ And if you make a nice GtkAda widget for dealing with editing a general XML file and share it with the rest of use we would be very happy :-) I guess you don't have to use XML, but there are many tools that deal with XML that can be nice to use. It depends really on how much data and how structured you need this data to be. -- Preben Randhol ------------------------ http://www.pvv.org/~randhol/ -- �There are three things you can do to a woman. You can love her, suffer for her, or turn her into literature.� - Justine, by Lawrence Durrell