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-16 18:01:27 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!diablo.theplanet.net!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: Thu, 16 May 2002 10:30: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 1021559428 19339 136.170.200.133 (16 May 2002 14:30:28 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 16 May 2002 14:30:28 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:24239 Date: 2002-05-16T14:30:28+00:00 List-Id: O.K. but I'm not sure what you expect to find that will write out your XML for you. The XML, presumably, is some reflection of the "info in memory" part - which could be almost anything. I could imagine some version of: --> ASIS --> DOM --> XML file but the XML specification of the DOM didn't require some kind of output (or input, for that matter. Big mistake IMHO) What you might build is: --> ASIS --> DOM --> custom tree walk --> XML file because that at least gives you a structure to work with. I just don't know of any tools that do that for you already. (I've been tinkering with this a bit, but don't have anything complete to offer. Maybe someone else did an extension of the Ada XML stuff from: http://libre.act-europe.fr/xmlada/ but it is unfortunately not part of the XML DOM specification.) MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com "Wes Groleau" wrote in message news:3CE2DF3C.682F07C4@despammed.com... > 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