From: "Martin Dowie" <martin.dowie@baesystems.com>
Subject: Re: XMLAda dom document to string
Date: Wed, 13 Apr 2005 08:37:12 +0100
Date: 2005-04-13T07:37:42+00:00 [thread overview]
Message-ID: <425cca6c_1@glkas0286.greenlnk.net> (raw)
In-Reply-To: mailman.20.1113372960.24457.comp.lang.ada@ada-france.org
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 433 bytes --]
Bj�rn Lundin wrote:
> Is there a way of converting a dom document from
> XML/Ada (1.0) to a string?
>
> I found a Print in DOM.Core.Nodes that prints out a document to std
> out. That is actually what I want, but to a string instead, that I
> can put through a socket later on.
You could set the standard output to be a file that you read in later.
see Ada.Text_IO.Set_Output
Bit clunky but should work.
Cheers
-- Martin
next prev parent reply other threads:[~2005-04-13 7:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-13 6:14 XMLAda dom document to string Björn Lundin
2005-04-13 7:03 ` Alex R. Mosteo
2005-04-13 17:03 ` Björn Lundin
2005-04-14 7:26 ` Alex R. Mosteo
2005-04-14 15:35 ` Björn Lundin
2005-04-15 9:32 ` Alex R. Mosteo
2005-04-13 18:50 ` Björn Lundin
2005-04-13 7:37 ` Martin Dowie [this message]
2005-04-13 17:08 ` Björn Lundin
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox