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,398ba69f3e5ab230,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-12 08:50:29 PST Message-ID: <3E4A7B4F.7040107@epfl.ch> Date: Wed, 12 Feb 2003 17:50:23 +0100 From: =?ISO-8859-1?Q?Rodrigo_Garc=EDa?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: DOM in XML/Ada Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: lglpc31.epfl.ch X-Trace: epflnews.epfl.ch 1045068625 128.178.76.8 (12 Feb 2003 17:50:25 +0200) Organization: EPFL Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fr.usenet-edu.net!usenet-edu.net!news.mailgate.org!news-zh.switch.ch!epflnews.epfl.ch!not-for-mail Xref: archiver1.google.com comp.lang.ada:34025 Date: 2003-02-12T17:50:23+01:00 List-Id: I wanted to create and populate an XML document using the DOM interface of XML/Ada. Does anybody know how to write an xml file with XML/Ada? I am afraid there only exist the procedures to print the document in the screen... OK, I can redirect output, but that's a bit... chapuza ;^) From the DOM specification (http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-1590626201) "The DOM Core API also allows creation and population of a Document object using only DOM API calls; loading a Document and saving it persistently is left to the product that implements the DOM API." Rodrigo