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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c9d14a9b4208ef0b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-17 17:19:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!194.176.220.129!newsfeed.icl.net!kibo.news.demon.net!demon!psiuk-p2!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: XML generator Date: Fri, 17 May 2002 09:40:26 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: References: <3CE02EE1.8FEBD4DE@despammed.com> <3CE03784.DD40698E@despammed.com> <3CE14210.AC3FC998@despammed.com> <3CE2875B.F2A54C0D@despammed.com> <3CE2DF3C.682F07C4@despammed.com> NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1021642826 9894 136.170.200.133 (17 May 2002 13:40:26 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 17 May 2002 13:40:26 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:24323 Date: 2002-05-17T13:40:26+00:00 List-Id: I don't think that's where he was going. I think it was some version of "I've got something parsed out using ASIS - now I want to take the information I've derived and make it into an XML formatted text file..." It was not necessarily a package spec/body and the problem may not be at all amenable to DTD or databases. Do you know of some Ada code that will allow you to create data in some form in memory and then say "Go put this out as an XML file..."? It ought to be doable from a DOM implementation, but that isn't one of the DOM requirements (maybe at level 3?) and I don't know of an implementation *in Ada* that extends the DOM specification to provide that. MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com "Aidan Skinner" wrote in message news:slrnae8mcs.tev.aidan@crushed.velvet.net... > There could also be: > > DTD --> perl script --> package spec/body > > which derives from some nominal XML_Record type. > > This could also be done with databases: > > SQL --> perl script --> package spec/body > > which derives from some nominal SQL_Record type. > > Which could both dervie from some Storable_Record type which has > something like Read, Write, Get and Set procedures. > > - Aidan > -- > aidan@velvet.net http://www.velvet.net/~aidan/ aim:aidans42 > finger for pgp key fingerprint |Unix Programmer/Admin actively seeking work > 01AA 1594 2DB0 09E3 B850 |CV at http://www.velvet.net/~aidan/cv.txt > C2D0 9A2C 4CC9 3EC4 75E1 |Gis a job, go on, I can do that, go on, gis it.