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,c9d14a9b4208ef0b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-19 13:26:10 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: achrist@easystreet.com Newsgroups: comp.lang.ada Subject: Re: XML generator Date: Sun, 19 May 2002 13:26:55 -0700 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <3CE80A8F.74CBEF93@easystreet.com> X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 References: <3CE02EE1.8FEBD4DE@despammed.com> <3CE03784.DD40698E@despammed.com> <3CE14210.AC3FC998@despammed.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.lang.ada:24382 Date: 2002-05-19T13:26:55-07:00 List-Id: David Botton wrote: > > If you are on Win32, try GNATCOM and the MS XML control. I've used it for > some time now with great success. > I've used it some a few months ago, but I didn't think that I had great success. My application was an editor and viewer for some particular XML data -- involved reading a large (maybe 1MB, 1000 items in a tree) file of XML, providing interactive access and update for the XML contents, and than writing it back out. I succeeded in doing that, but the MSXML API was not very good in providing update functions, from what I found. The updating was done by providing the new XML data flattened into a string representation, regardless of how many levels of structure or how many attributes it contained. This is a little much of brute force and ignorance to look like a good idea in Ada. Maybe I missed something. I would like to see some good examples of XML creation and manipulation in Ada. Maybe I missed something or didn't understand how it was supposed to work. My recollection is that examples in some other languages, eg VB, were able to have the program structure match the XML data structure a little better, but they did that by being less type-safe than the Ada interface to MSXML. Maybe I missed something. I would like to see some good examples of XML creation and manipulation in Ada. My impression was that MSXML was designed to provide access to XML data, but that it was very weak for updating of XML data. Al