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.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC 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-15 15:20:54 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!cambridge1-snf1.gtei.net!news.gtei.net!bos-service1.ext.raytheon.com!dfw-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3CE2DF3C.682F07C4@despammed.com> From: Wes Groleau Reply-To: wesgroleau@despammed.com X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en,es-MX,es,pt,fr-CA,fr MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: XML generator References: <3CE02EE1.8FEBD4DE@despammed.com> <3CE03784.DD40698E@despammed.com> <3CE14210.AC3FC998@despammed.com> <3CE2875B.F2A54C0D@despammed.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 15 May 2002 17:20:44 -0500 NNTP-Posting-Host: 151.168.144.162 X-Complaints-To: news@ext.ray.com X-Trace: dfw-service2.ext.raytheon.com 1021501250 151.168.144.162 (Wed, 15 May 2002 17:20:50 CDT) NNTP-Posting-Date: Wed, 15 May 2002 17:20:50 CDT Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ada:24131 Date: 2002-05-15T17:20:44-05:00 List-Id: > > And XML/Ada docs say that you'd have to write > > callbacks to get anything out of a DOM tree. > > I'm not expert but this seems true for SAX. With the > DOM model in memory you have a set of methods to > walk on the tree and get various information for each > node. Right. But I need to write or find code that goes the other way--instead of loading the XML into a memory based DOM model, I need to write the XML to a file. To be more specific, I have to do: --> ASIS --> info in memory --[a]--> XML file but SAX and XML/Ada offer XML file --> DOM model in memory --> user-written code so I am looking for code that does transformation [a] in a more logical way than what I already have. -- Wes Groleau http://freepages.rootsweb.com/~wgroleau