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, 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-16 02:56:35 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!newsfeed.belnet.be!news.belnet.be!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!t-online.de!lnewspeer00.lnd.ops.eu.uu.net!lnewspost00.lnd.ops.eu.uu.net!emea.uu.net!read.news.fr.uu.net!not-for-mail Sender: briot@lyon.act-europe.fr 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> From: Emmanuel Briot Reply-To: briot@act-europe.fr Date: 16 May 2002 11:49:20 +0200 Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: lyon.act-europe.fr X-Trace: 1021542992 read.news.fr.uu.net 24009 212.157.227.160 X-Complaints-To: abuse@fr.uu.net Xref: archiver1.google.com comp.lang.ada:24167 Date: 2002-05-16T11:49:20+02:00 List-Id: > > And XML/Ada docs say that you'd have to write > > callbacks to get anything out of a DOM tree. > > > > Right. I just reviewed XML/Ada. While there are facilities to read a text > file containing XML into a DOM tree (input_sources.file) there are currently > no sources to write the DOM tree as a text file. There wasn't anything in DOM 2.0, and that is what XML/Ada implements. I think provision for writting out the tree has been added to DOM 3.0, but I haven't had time to look into that, and ACT hasn't had any request for this extended operations so far. So this is quite low on my priority list. Of course, I would be happy to look at patches or suggestions (thanks Steve for all you already sent, even if it hasn't been integrated yet... GPS is currently higher on the list) There is a small debug function in XML/Ada (something like Print, I think), that is used for the internal testsuite. You might want to take a look at that as a starting point. Emmanuel