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-7-bit X-Google-Thread: 103376,218b3332778031f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-16 03:21:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!proxad.net!wanadoo.fr!not-for-mail From: Pascal Obry Newsgroups: comp.lang.ada Subject: Re: A little database Date: 16 Nov 2002 12:20:25 +0100 Organization: Home - http://perso.wanadoo.fr/pascal.obry Message-ID: References: <3dd49c15$0$303$bed64819@news.gradwell.net> <4519e058.0211151348.4e882a74@posting.google.com> NNTP-Posting-Host: avelizy-103-1-7-109.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news-reader11.wanadoo.fr 1037445666 20309 81.48.101.109 (16 Nov 2002 11:21:06 GMT) X-Complaints-To: abuse@wanadoo.fr NNTP-Posting-Date: 16 Nov 2002 11:21:06 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.92 Xref: archiver1.google.com comp.lang.ada:30976 Date: 2002-11-16T11:21:06+00:00 List-Id: dennison@telepath.com (Ted Dennison) writes: > For a database, the most sensible portable format would be CSV. That > way it can be imported, exported, edited, and manipulated with any > database or spreadsheet tool you users might have or want (even a text > editor). Unless you have complicated hierarchal relationships that > can't be easily expressed in tabular format, XML is overkill (and > relatively poorly supported overkill, at that). Overkill at first sight... but with XML you can parse, validate, publish or whatever... This is the same argument that say that Ada is overkill compared to C! > I don't know of any Ada support for creating CSV's, but the format is I have a Text_Key_File component on my homepage that does just that. Handle a file where each line is composed of fields. The separator can be configured. Not also that this is a job that is easy to do with GNAT.AWK. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://perso.wanadoo.fr/pascal.obry --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595