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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!newsfeed0.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: generating an XML file using Ada code Date: Sat, 25 Jun 2016 08:32:57 +0300 Organization: Tidorum Ltd Message-ID: References: <139d39ee-c198-4a63-a5c6-9cb265820edb@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net h6HHIvdymx/1mHohrk0E5A1KXIZ5C5WVyP9qW5VbrMB7GvU0UM Cancel-Lock: sha1:5LmCekJwfEJJKJr08manX9C/hiM= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 In-Reply-To: <139d39ee-c198-4a63-a5c6-9cb265820edb@googlegroups.com> Xref: news.eternal-september.org comp.lang.ada:30917 Date: 2016-06-25T08:32:57+03:00 List-Id: On 16-06-24 17:44 , Stephen Leake wrote: > I'm working on syncing a database between Windows and Android. The > Android framework for doing this requires a "changes" file, in either > XML or JSON format. > > So on the Windows side I need to log all db operations to either xml > or json. > > Using xmlada, I don't see any way to output a file; I searched for > "Text_IO" in the installed library code, and found only input > functions. One of the xml tutorials mentions the C function > "xmlSaveFormatFile"; I can't find that in the Ada code. > > This question has been asked before on this list, several years ago; > I hope there is a better answer now. > > How can I create an XML file? I have used XML EZ Out, http://www.mckae.com/xmlEz.html, with good results. -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .